# Can't install any packages with Pkg.jl

**URL:** <https://discourse.julialang.org/t/cant-install-any-packages-with-pkg-jl/103235>\
**Category:** New to Julia\
**Created:** [August 26, 2023, 10:57pm UTC](https://discourse.julialang.org/t/cant-install-any-packages-with-pkg-jl/103235 "2023-08-26T22:57:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssghost](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssghost/32/7564_2.png) [@ssghost](https://discourse.julialang.org/u/ssghost)\
**Post date:** [August 26, 2023, 10:57pm UTC](https://discourse.julialang.org/t/cant-install-any-packages-with-pkg-jl/103235/1 "2023-08-26T22:57:35Z")

</div>

OS: MacOSX 12.6  
Julia VersionInfo: Julia Version 1.8.5

Commit 17cfb8e65ea (2023-01-08 06:45 UTC)

After I typed “] add \<package\_name\>” in REPL it will always return an Unsatisfiable requirements Error, for example this is to install “MLUtils”:

 ![Screenshot 2023-08-27 at 06.56.34](https://global.discourse-cdn.com/julialang/original/3X/a/b/abe3d108086c71a896e4813a4f1fe7e6a3247419.png)

How to solve the problem?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [August 26, 2023, 11:58pm UTC](https://discourse.julialang.org/t/cant-install-any-packages-with-pkg-jl/103235/2 "2023-08-26T23:58:27Z")

</div>

To truly diagnose this we will need the output of the following command.

```julia
using Pkg
Pkg.status()
Pkg.status(mode=PKGMODE_MANIFEST)

```

The main issue is that you likely have too many packages in your environment creating a very complicated situation to solve.

The recommended work around is to use a distinct environment for each project. A temporary work around would be to create a temporary environment.

```julia
using Pkg
pkg"activate --temp"
pkg"add MLUtils"

```

---

<div class="post-metadata">

**Author:** ![kevbonham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevbonham/32/216165_2.png) [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Post date:** [August 27, 2023, 2:17am UTC](https://discourse.julialang.org/t/cant-install-any-packages-with-pkg-jl/103235/3 "2023-08-27T02:17:40Z")

</div>

> [@mkitti](#):
>
> The main issue is that you likely have too many packages in your environment creating a very complicated situation to solve.

To expand on this, it is generally discouraged to use the default environment (in your case, `@v1.8`) for anything other than development- or interface- focused packages. Eg, my default environment has OhMyREPL, MiniLoggers, Revise, BenchmarkTools, and not much else.

Julia’s built-in support for distinct projects with their own package “environments” (a la virtualenv for python) is really great, I’d encourage you to use them. I’d also encourage you to check out [https://modernjuliaworkflows.github.io/](https://modernjuliaworkflows.github.io/)
