# Can't add packages

**URL:** <https://discourse.julialang.org/t/cant-add-packages/49816>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [November 9, 2020, 1:23am UTC](https://discourse.julialang.org/t/cant-add-packages/49816 "2020-11-09T01:23:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xFrenchy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xfrenchy/32/19274_2.png) [@xFrenchy](https://discourse.julialang.org/u/xFrenchy)\
**Post date:** [November 9, 2020, 1:23am UTC](https://discourse.julialang.org/t/cant-add-packages/49816/1 "2020-11-09T01:23:37Z")

</div>

Hey everyone, it appears that I cannot add packages anymore due to the path being wrong. In the past I’ve been able to add packages without any issue and I was messing around with creating a package and now it appears to be broken

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/2/920d0b253a2510bad8f39688f9c4e5ae3aeeb7ee.png)  
It seems to be trying to use the path C:\User\UserName\Desktop\JuliaStuff…~.julia\dev\MyExample  
Not exactly sure how to fix this. I’m a different directory from where I was messing around with my package. I’ve tried activating my current environment but that didn’t work either

---

<div class="post-metadata">

**Author:** ![josePereiro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josepereiro/32/17322_2.png) [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Post date:** [November 9, 2020, 3:46am UTC](https://discourse.julialang.org/t/cant-add-packages/49816/2 "2020-11-09T03:46:20Z")

</div>

Hi @xFrenchy, I think you should try `rm MyExample` first.

---

<div class="post-metadata">

**Author:** ![xFrenchy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xfrenchy/32/19274_2.png) [@xFrenchy](https://discourse.julialang.org/u/xFrenchy)\
**Post date:** [November 9, 2020, 5:45am UTC](https://discourse.julialang.org/t/cant-add-packages/49816/3 "2020-11-09T05:45:54Z")

</div>

Thank you! That fixed it. Would you happen to know why creating my own package blocked me from being able to add other packages to other projects? For example what if I wanted to keep MyExample, how would someone keep this package and continue to add packages to other projects?

---

<div class="post-metadata">

**Author:** ![josePereiro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josepereiro/32/17322_2.png) [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Post date:** [November 9, 2020, 12:52pm UTC](https://discourse.julialang.org/t/cant-add-packages/49816/4 "2020-11-09T12:52:25Z")

</div>

> [@xFrenchy](#):
>
> Would you happen to know why creating my own package blocked me from being able to add other packages to other projects?

Creating new packages do not block you from adding new ones, in fact, for julia loading system there is no difference between your own packages and others. The problem was that you probably move `MyExample` from the location is shown in the error.

---

<div class="post-metadata">

**Author:** ![xFrenchy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xfrenchy/32/19274_2.png) [@xFrenchy](https://discourse.julialang.org/u/xFrenchy)\
**Post date:** [November 9, 2020, 3:43pm UTC](https://discourse.julialang.org/t/cant-add-packages/49816/5 "2020-11-09T15:43:32Z")

</div>

Oh I see, so when it’s doing `Resolving package versions...` it’s going through every package even though all I wanted was to add another package. So if at any point a package is missing but it’s still expecting it, it won’t allow me to add another package until that’s fixed.

---

<div class="post-metadata">

**Author:** ![josePereiro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josepereiro/32/17322_2.png) [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Post date:** [November 9, 2020, 4:26pm UTC](https://discourse.julialang.org/t/cant-add-packages/49816/6 "2020-11-09T16:26:45Z")

</div>

Exactly, `Pkg` need all the information about what is in the environment before adding a new package, otherwise, for example, it is impossible for it to know the versions of the new package dependencies that will be compatible with the rest of the environment.
