IJulia 构建错误

Building error with IJulia

我以前在 Jupyter Notebook 中使用 Julia。由于其他问题,我昨天卸载了 .julia 目录,在 Pkg.add(IJulia) 之后,我收到了与 ZMQ 相关的构建错误。完整错误如下。

julia> Pkg.build("ZMQ")
INFO: Building Homebrew
Already up-to-date.
INFO: Building ZMQ
Warning: staticfloat/juliatranslated/zeromq32-3.2.5 already installed, it's just not linked.
Error: Formulae found in multiple taps: 
 * staticfloat/juliadeps/zeromq32
 * staticfloat/juliatranslated/zeromq32

Please use the fully-qualified name e.g. staticfloat/juliadeps/zeromq32 to refer the formula.
=================================[ ERROR: ZMQ ]=================================

LoadError: failed process: Process(`/Users/pacagal/.julia/v0.5/Homebrew/deps/usr/bin/brew link staticfloat/juliatranslated/zeromq32 --force`, ProcessExited(1)) [1]
while loading /Users/pacagal/.julia/v0.5/ZMQ/deps/build.jl, in expression starting on line 35

================================================================================

================================[ BUILD ERRORS ]================================

WARNING: ZMQ had build errors.

 - packages with build errors remain installed in /Users/pacagal/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("ZMQ")`
 - build a single package by running its `deps/build.jl` script

================================================================================

我也有 运行 build.jl 文件,但我也遇到了错误。

我今天早上遇到了同样的问题。在终端我 运行 brew install zmq 并解决了问题。

安装 zmq 之后,我仍然需要 运行 julia>Pkg.build("Nettle"),之后 IJulia 运行 就可以了。