# Building error for "Sundials", "SymEngine", "Rmath", wrong julia directory

**URL:** <https://discourse.julialang.org/t/building-error-for-sundials-symengine-rmath-wrong-julia-directory/4745>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 8, 2017, 11:40pm UTC](https://discourse.julialang.org/t/building-error-for-sundials-symengine-rmath-wrong-julia-directory/4745 "2017-07-08T23:40:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wood](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wood/32/3735_2.png) [@wood](https://discourse.julialang.org/u/wood)\
**Post date:** [July 8, 2017, 11:40pm UTC](https://discourse.julialang.org/t/building-error-for-sundials-symengine-rmath-wrong-julia-directory/4745/1 "2017-07-08T23:40:05Z")

</div>

Hello, I met a building error when adding DifferentialEquations package,

“LoadError: could not spawn `'D:\Program Files\JuliaPro-0.5.2.2\Julia-0.6.0\bin\7z.exe' x 'C:\Users\Wood\.julia\v0.6\Sundials\deps\downloads\sundials-2.5.0.7z' -y '-oC:\Users\Wood\.julia\v0.6\Sundials\deps'`: no such file or directory (ENOENT)  
while loading C:\Users\Wood.julia\v0.6\Sundials\deps\build.jl, in expression starting on line 37”

I think the problem is the wrong directory of Julia, which should be another one. When I open the Julia command line, the pwd() shows the right directory.

How can I resolve this problem?

The reason why I have this problem is that I try to update Julia for JuliaPro, then I find it is not possible to do so currently.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [July 9, 2017, 12:44am UTC](https://discourse.julialang.org/t/building-error-for-sundials-symengine-rmath-wrong-julia-directory/4745/2 "2017-07-09T00:44:32Z")

</div>

> [@wood](#):
>
> JuliaPro-0.5.2.2\Julia-0.6.0

I’m confused by this. Are you on v0.5.2 or v0.6.0?

---

<div class="post-metadata">

**Author:** ![wood](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wood/32/3735_2.png) [@wood](https://discourse.julialang.org/u/wood)\
**Post date:** [July 9, 2017, 12:57am UTC](https://discourse.julialang.org/t/building-error-for-sundials-symengine-rmath-wrong-julia-directory/4745/4 "2017-07-09T00:57:10Z")

</div>

Sorry for that. I just started using Julia. I download the lastest JuliaPro v0.5.2.2 and want to update the Julia to v0.6. So I installed Julia v0.6 at the directory of JuliaPro. Then I found I cannot use the existing packages in JuliaPro, it is completely new installed Julia with no packages. I realized that it is not possible to update Julia in JuliaPro manually right now.

So I re-installed the Julia v0.6 at another directory and want to uninstall JuliaPro.

But when I install package “DifferentialEquations”, in the building process, it still use the old directory of Julia. There is no Julia directory in PATH, so I do not know how to solve this.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [July 9, 2017, 1:28am UTC](https://discourse.julialang.org/t/building-error-for-sundials-symengine-rmath-wrong-julia-directory/4745/5 "2017-07-09T01:28:07Z")

</div>

I’m not entirely sure how you’re supposed to upgrade JuliaPro, but that doesn’t sound right. I would just install the standard generic binary:

> **[Download Julia](https://julialang.org/downloads/)**
>
> The official website for the Julia Language. Julia is a language that is fast, dynamic, easy to use, and open source. Click here to learn more.

and use that. Maybe someone else can comment on how you’re supposed to upgrade JuliaPro.
