<p>You are using the wrong version of GHC which supplies the <code>base</code> library.</p>
<p>According to <a href="https://www.snoyman.com/base/" rel="nofollow noreferrer">https://www.snoyman.com/base/</a> <code>base</code> version <code>4.16.*</code> is supplied by <code>ghc-9.2.*</code> .</p>
<p>From the bounds required on <code>base</code> (<code>base&gt;=4.12 &amp;&amp; &lt;4.15</code>) I would suspect you should be using <code>ghc-8.10.7</code>.</p>

CC BY-SA 4.0
2023-08-07T08:47:36.067Z
I think it solved my problem. Thank you very much.
krishna babu
CC BY-SA 4.0
2023-08-07T07:12:08.923Z
2023-08-07T07:12:08.923Z
Erik de Castro Lopo
<p>I am new to plutus. I am trying to learn plutus for which I am using &quot;plutus-starter&quot; code to begin. while using &quot;cabal build&quot; i am getting following error:</p>
<pre><code>Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.16.4.0/installed-4.16.4.0 (dependency of Win32-network)
[__2] next goal: byron-spec-chain (user goal)
[__2] rejecting: byron-spec-chain-0.1.0.0 (conflict:
base==4.16.4.0/installed-4.16.4.0, byron-spec-chain =&gt; base&gt;=4.12 &amp;&amp; &lt;4.15)
[__2] fail (backjumping, conflict set: base, byron-spec-chain)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, byron-spec-chain, Win32-network
</code></pre>
<p>How can I solve this.</p>

<plutus><haskell><cabal><plutus-starter>
I am getting error while using "cabal build all" cmd
# I am getting error while using "cabal build all" cmd

(Asked by: username_0 on 2023-08-07)

I am new to plutus. I am trying to learn plutus for which I am using "plutus-starter" code to begin. while using "cabal build" i am getting following error:
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.16.4.0/installed-4.16.4.0 (dependency of Win32-network)
[__2] next goal: byron-spec-chain (user goal)
[__2] rejecting: byron-spec-chain-0.1.0.0 (conflict:
base==4.16.4.0/installed-4.16.4.0, byron-spec-chain => base>=4.12 && <4.15)
[__2] fail (backjumping, conflict set: base, byron-spec-chain)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, byron-spec-chain, Win32-network

How can I solve this.

**Tags:** plutus, haskell, cabal, plutus-starter

---

## 1 answers

### Answer by username_1 on 2023-08-07. Score: 0

You are using the wrong version of GHC which supplies the `base` library.

According to <https://www.snoyman.com/base/> `base` version `4.16.*` is supplied by `ghc-9.2.*` .

From the bounds required on `base` (`base>=4.12 && <4.15`) I would suspect you should be using `ghc-8.10.7`.

> **Comments:**
> **username_0**: I think it solved my problem. Thank you very much.  

---

