-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
global name 'zmq' is not defined #64
Comments
It looks like it's not finding your ZMQ library. First I would try restarting sublime, since the ZMQ library is opened/located when sublime starts. If it's not found when you restart sublime, it should popup and tell you. You'll then want ot fire up Julia and run |
I deleted the extra quoting and did When I restart Sublime the following error pops up: It looks as if I made a typo, but I checked it 1000times.. |
Hmmm....that's a pretty weird error. It almost seems like your library is out of date or something, but that shouldn't be the case when it's being installed automatically. Hmmm, I'll have to brainstorm some other things to try. |
Same error, different lib:
Also, this S.O. question? |
Answering my own question: |
@tildebyte That works! Thank you very much! |
@tildebyte same problem here, I removed the dll in windeps and now it works, thanks a lot for the fix! |
@tildebyte same proble, same solution. Thanks! |
@tildebyte I got the same problem, when I copy the |
@tildebyte same problem, solution worked Thank you! |
@tildebyte same problem. My windeps dir was in a different location, but copying the mingw32 libstdc++-6.dll file there worked. Thanks. |
Hi,
I`m trying to install Sublime-IJulia and I´m running into troubles. I read a couple of related threads but I couldn´t find a solution...
I added ZMQ and IJulia. ZMQ built successfully IJulia not, since I don´t have IPhython installed.
This is my settings file:
"windows": {
"zmq_shared_library": "C:\Users\acer-touch.julia\v0.3\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libzmq.dll",
"commands": [
{
"command_name": "default",
"julia": ""C:\Users\acer-touch\AppData\Local\Julia-0.3.6\bin\julia.exe"",
"julia_args": "",
"ijulia_kernel": "~/.julia/v0.3/IJulia/src/kernel.jl"
}
]
}
}
If I run "Sublime-IJulia: Open New IJulia Console", I get the following:
Starting IJulia backend...
Command Executed: "C:\Users\acer-touch\AppData\Local\Julia-0.3.6\bin\julia.exe" C:\Users\acer-touch/.julia/v0.3/IJulia/src/kernel.jl "C:\Users\acer-touch\AppData\Roaming\Sublime Text 3\Packages/User/profile-19.json"
Traceback (most recent call last):
File "C:\Users\acer-touch\AppData\Roaming\Sublime Text 3\Packages\IJulia\IJulia.py", line 51, in start_kernel
self.kernel = Kernel.Kernel(self.id,self.cmd,self)
File "C:\Users\acer-touch\AppData\Roaming\Sublime Text 3\Packages\IJulia\Kernel.py", line 245, in init
self.context = Context()
File "C:\Users\acer-touch\AppData\Roaming\Sublime Text 3\Packages\IJulia\Kernel.py", line 112, in init
self.ptr = zmq.zmq_ctx_new()
NameError: global name 'zmq' is not defined
My paths should be correct and I used absolute paths...
What is wrong?
Thank´s a lot for any help!
The text was updated successfully, but these errors were encountered: