Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install IJulia v1.9.2 in Julia v1.0 Error #700

Closed
Honghe opened this issue Aug 10, 2018 · 5 comments
Closed

Install IJulia v1.9.2 in Julia v1.0 Error #700

Honghe opened this issue Aug 10, 2018 · 5 comments

Comments

@Honghe
Copy link

Honghe commented Aug 10, 2018

Environment:

  • Ubuntu 16.04.5 x86-64

Log:

(v1.0) pkg> st
    Status `~/.julia/environments/v1.0/Project.toml`
  [8f4d0f93] Conda v1.0.0
  [7073ff75] IJulia v1.9.2
  [438e738f] PyCall v1.17.1

(v1.0) pkg> add IJulia
 Resolving package versions...
 Installed ZMQ ──────────── v0.6.3
 Installed BinaryProvider ─ v0.4.0
 Installed IJulia ───────── v1.9.2
 Installed MbedTLS ──────── v0.6.0
  Updating `~/.julia/environments/v1.0/Project.toml`
  [7073ff75] + IJulia v1.9.2
  Updating `~/.julia/environments/v1.0/Manifest.toml`
  [b99e7846] + BinaryProvider v0.4.0
  [7073ff75] + IJulia v1.9.2
  [739be429] + MbedTLS v0.6.0
  [c2297ded] + ZMQ v0.6.3
  [7b1f6079] + FileWatching 
  Building MbedTLS → `~/.julia/packages/MbedTLS/Qo8TN/deps/build.log`
  Building ZMQ ────→ `~/.julia/packages/ZMQ/GA4Xh/deps/build.log`
  Building IJulia ─→ `~/.julia/packages/IJulia/9RcVi/deps/build.log`
┌ Error: Error building `IJulia`: 
│ ERROR: LoadError: Conda is not properly configured.  Run Pkg.build("Conda") before importing the Conda module.
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] top-level scope at /home/honhe/.julia/packages/Conda/a196m/src/Conda.jl:27
│  [3] include at ./boot.jl:317 [inlined]
│  [4] include_relative(::Module, ::String) at ./loading.jl:1038
│  [5] include(::Module, ::String) at ./sysimg.jl:29
│  [6] top-level scope at none:2
│  [7] eval at ./boot.jl:319 [inlined]
│  [8] eval(::Expr) at ./client.jl:389
│  [9] top-level scope at ./none:3
│ in expression starting at /home/honhe/.julia/packages/Conda/a196m/src/Conda.jl:23
│ ERROR: LoadError: Failed to precompile Conda [8f4d0f93-b110-5947-807f-2305c1781a2d] to /home/honhe/.julia/compiled/v1.0/Conda/WZE3U.ji.
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] macro expansion at ./logging.jl:313 [inlined]
│  [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
│  [4] _require(::Base.PkgId) at ./logging.jl:311
│  [5] require(::Base.PkgId) at ./loading.jl:852
│  [6] macro expansion at ./logging.jl:311 [inlined]
│  [7] require(::Module, ::Symbol) at ./loading.jl:834
│  [8] include at ./boot.jl:317 [inlined]
│  [9] include_relative(::Module, ::String) at ./loading.jl:1038
│  [10] include(::Module, ::String) at ./sysimg.jl:29
│  [11] include(::String) at ./client.jl:388
│  [12] top-level scope at none:0
│ in expression starting at /home/honhe/.julia/packages/IJulia/9RcVi/deps/build.jl:2
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068
@fredrikekre
Copy link
Member

That looks like you are trying to install Plots and not IJulia?

@hhaensel
Copy link

That's right, I had the same issue this morning on Windows 10

@Honghe Honghe changed the title Install IJulia v0.18.0 in Julia v1.0 Error Install IJulia v1.9.2 in Julia v1.0 Error Aug 10, 2018
@Honghe
Copy link
Author

Honghe commented Aug 10, 2018

@fredrikekre Sorry for the wrong log, I have updated it. And it seems that the error is from Conda which IJulia depends on.

@hhaensel
Copy link

@Honghe The issue in Conda is already solved in the master branch. It comes from deprecated functions "isdefined" JuliaPy/Conda.jl#113 and "readstring" in deps/build.jl

@stevengj
Copy link
Member

A new release of Conda with the fix has been tagged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants