我正在尝试安装IJulia - 利用ipython集成
然而,我收到此错误:
julia> Pkg.build("IJulia")
INFO: Building Homebrew
HEAD is now at 7dbece7 Merge branch 'kegpkg' of github.com:staticfloat/homebrew into kegpkg
HEAD is now at e7a2203 Tab fix didn't work, revert to old behavior
INFO: Building Nettle
INFO: Building ZMQ
INFO: Building IJulia
=======================================================================[ ERROR: IJulia ]=======================================================================
IPython is required for IJulia, got errors
ErrorException("invalid version string: 1.0.dev")
could not start process `ipython2 --version`: no such file or directory (ENOENT)
could not start process `ipython3 --version`: no such file or directory (ENOENT)
at /Users/bdhammel/.julia/IJulia/deps/build.jl:17
===============================================================================================================================================================
=======================================================================[ BUILD ERRORS ]========================================================================
WARNING: IJulia had build errors.
- packages with build errors remain installed in /Users/bdhammel/.julia
- build a package and all its dependencies with `Pkg.build(pkg)`
- build a single package by running its `deps/build.jl` script
===============================================================================================================================================================
我安装了ipython:
$ which ipython
/Users/bdhammel/Library/Enthought/Canopy_64bit/User/bin/ipython
所以我不确定它在抱怨什么
答案 0 :(得分:0)
最简单的解决方案可能是更新您的Canopy安装,我认为它有一个自动更新程序。除此之外,请发布输出ivarne要求,并发布:
julia> convert(VersionNumber, chomp(readall(`ipython --version`))
应支持1.0-dev,但Canopy版本的版本字符串可能与IJulia期望的版本不同。