Setting up IJulia

710 views Asked by At

I am trying to set up IJulia on my PC, but after I get it running I get the constant messages that "kernel has died" and there is a problem with ZMQ library.

Trying to rebuild or reinstall ZMQ does not work. I get an error:

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

WARNING: ZMQ had build errors.

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

Trying to execute build.jl by line (part that correspond to windows) I get the error "Provider PackageManager faild to satisfy dependency zmq."

I am kind of lost here, because ZMQ is obviously correctly installed and working for IPython - IPython notebooks work just fine; I have a fresh installation from Anaconda.

1

There are 1 answers

0
CyTex On

Try to run

Pkg.build("ZMQ")

to see what happens.

If there are warnings about "libpgm" and "zeromq32", you can delete the lib directories and then try to build ZMQ again.

rm -rf /Users/username/.julia/v0.x/Homebrew/deps/usr/Cellar/zeromq32/3.2.5
rm -rf /Users/username/.julia/v0.x/Homebrew/deps/usr/Cellar/libpgm/5.2.122
Pkg.build("ZMQ")

This will correctly build the libpgm and zeromq32 you needed.

(I suppose the operation system is OS X. If you are using Windows, please refer to Installing ZMQ on Windows 7+ seems to require admin privileges #69.)