我正在尝试安装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
所以我不确定它在抱怨什么
最简单的解决方案可能是更新Canopy安装,我认为它具有自动更新程序。除此以外,请发布ivarne要求的输出,然后发布:
julia> convert(VersionNumber, chomp(readall(`ipython --version`))
应该支持1.0-dev,但是Canopy版本的版本字符串看起来可能与IJulia期望的不同。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句