quinnj / Sublime-IJulia

An IJulia Frontend for Sublime Text 3
90 stars 16 forks source link

Could not find where "zmq_shared_library" is #89

Open ayaka-usui opened 6 years ago

ayaka-usui commented 6 years ago

I am trying to set up sublime-IJulia, but I have a problem in doing Sublime-IJulia.sublime-settings, which is step 7 in README.md. My file is as below.

"osx": {
    "zmq_shared_library": "/Users/usui/.julia/v0.6/ZMQ/deps/usr/lib/libzmq.dylib",
    "commands": [
        {
            "command_name": "default",
            "julia": "/Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia",
            "julia_args": "",
            "ijulia_kernel": "~/.julia/v0.6/IJulia/src/kernel.jl"
        }
    ]
},

In this setting, I tried to open new IJulia console, but the sublime stoped. I thought there is anything wrong with "zmp_shared_library". I tried "Using ZMQ; ZMQ.zmq" from within Julia RERL, and then this error came out.

julia> using ZMQ; ZMQ.zmq
ERROR: UndefVarError: zmq not defined

I was wondering what I should do. Thanks for your help!


For your information, I am following the procedure of README.md and have installed "IJulia" and "ZMQ". This is a result when "Pkg.status()" is typed in Julia RERL.

julia> Pkg.status()
2 required packages:
 - IJulia                        1.9.1
 - ZMQ                           0.6.2
10 additional packages:
 - BinDeps                       0.8.8
 - BinaryProvider                0.3.3
 - Compat                        1.0.0
 - Conda                         0.8.1
 - JSON                          0.17.2
 - MbedTLS                       0.5.12
 - Nullables                     0.0.6
 - SHA                           0.5.7
 - URIParser                     0.3.1
 - VersionParsing                1.1.1

krzakala commented 5 years ago

Seems like in the more recent version one should write ZMQ.libzmq instead

james-a-mcmanus commented 4 years ago

Seems like in the more recent version one should write ZMQ.libzmq instead

I'm similarly unable to find the zmq_shared_library, when I type ZMQ.libzmq it prints: "libzmq.dll".

Setting "zmq_shared_library" as this also does not work.