# Cannot find installed modules when 0.7 is not launched from bindir

**URL:** https://discourse.julialang.org/t/cannot-find-installed-modules-when-0-7-is-not-launched-from-bindir/11676
**Category:** General Usage
**Created:** [June 14, 2018, 4:11pm UTC](https://discourse.julialang.org/t/cannot-find-installed-modules-when-0-7-is-not-launched-from-bindir/11676 "2018-06-14T16:11:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![raminammour](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raminammour/32/13572_2.png) [@raminammour](https://discourse.julialang.org/u/raminammour)
#### Post date: [June 14, 2018, 4:11pm UTC](https://discourse.julialang.org/t/cannot-find-installed-modules-when-0-7-is-not-launched-from-bindir/11676/1 "2018-06-14T16:11:45Z")

</div>

Hello,

I have `JULIA_DEPOT_PATH` set up. When julia is launched from its `bindir=Sys.BINDIR, `v0.7-alpha`finds the modules in`JULIA\_DEPOT\_PATH`; when launched from any other folder I get the error:

```julia
ERROR: ArgumentError: Module Revise not found in current path.
Run `Pkg.add("Revise")` to install the Revise package.

```

For all the modules that I have installed.

Am I doing something wrong? Has anyone else encountered this?

I appreciate any help!

---

<div class="post-metadata">

### Author: ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)
#### Post date: [June 15, 2018, 7:04pm UTC](https://discourse.julialang.org/t/cannot-find-installed-modules-when-0-7-is-not-launched-from-bindir/11676/2 "2018-06-15T19:04:42Z")

</div>

What does the package manager tell you when you enter st? (Or maybe status)  
I think you need ] to enter pkg\>

---

<div class="post-metadata">

### Author: ![raminammour](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raminammour/32/13572_2.png) [@raminammour](https://discourse.julialang.org/u/raminammour)
#### Post date: [June 15, 2018, 8:20pm UTC](https://discourse.julialang.org/t/cannot-find-installed-modules-when-0-7-is-not-launched-from-bindir/11676/3 "2018-06-15T20:20:40Z")

</div>

Sorry, I never update this with the sort of “fix” I found.

It turns out that the default location of the `DEPOT_PATH=~/.julia` is created automatically and populated. If you change the variable after, not everything is transferred over.

Namely, the folder `.julia/environments/v0.7/*.toml` (which is the default environment) are not recreated. You can create that folder by hand, then `]Pkg add` starts updating the `Project.toml` and `Manifest.toml`, things start working again. You will need to do `Pkg> add ...` again on packages that were previously installed so the `*.toml` files are updated correctly.

Weirdly, without the above, if you launched `julia` from its `bindir` the packages were found, so there must be some relative path set up somewhere… but I never got to the bottom of that 🙂
