You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give a documented dependency install on Linux (ubuntu)Β #270
I been trying to install ijavascript on my machine which is running ubuntu 20.04 lts
but , i already have installed jupyter-lab via pip and have snap package for node 16x and npm 8x but still when i installed ijavascript except for the uuid error saying it was deprecated , every thing else went without any error, Except when i opened the jupyter lab and tried to use the node kernel it said that no such kernel, i even installed the jupyter package as so mentioned on the first instruction of the ubuntu installation . but still i was not able to use the package.
so please look into this and be kind enough to give a complete dependency resoled installation Thank you.
one more thing the method you mentioned for the windows i was too not able to installl via that
I opened #245 to remind myself, but this documentation really needs more visibility. The solution is hidden in #221 (comment) and the comments of some installation issues.
Basically, iJavascript depends on zeromq (which distributes pre-built binaries for each OS and Node.js version). Unfortunately, zeromq hasn't caught up with the newer versions of Node.js.
Really, I should give more visibility to this issue in the README.
Anyways, for Debian and Ubuntu, the following should do the trick:
sorry to respond this late , but i guess this is not for me as still its giving me the same errors as it was giving me earlier.
Even this thing is not installing over the windows10 and there its giving me ERROR 1 from the npm.
Thanks by the way for responding so quickly.
In Windows, npm install -g ijavascript fails, because it can't locate an installation of Visual Studio. See here the requirements to build from source.
In Ubuntu, jupyter fails to launch the Ijavascript kernel, because it can't locate the binary for zeromq:
Did you run npm uninstall -g ijavascript?
Did you get any errors when you you run npm install -g ijavascript?
In Ubuntu, jupyter fails to launch the Ijavascript kernel, because it can't locate the binary for zeromq: How do i solve it cuz i did install it the way you told me earlier
sudo apt-get install libzmq3-dev
Yeah i did try them but nothing helped.
Did you run npm uninstall -g ijavascript?
Did you get any errors when you you run npm install -g ijavascript?
Sorry: /home/nirvaan/bin/ijsinstall must be a file link. Could you run ll $(which ijsinstall), please? I want to check that it's using the Ijavascript installation in /home/nirvaan/lib/node_modules/ijavascript.
If it does, I can't explain why you didn't see any errors during npm i -g ijavascript (other than the uuid warning). But you could try to rebuild Ijavascript manually, by doing the following:
$ cd /home/nirvaan/lib/node_modules/ijavascript
$ rm -rf /home/nirvaan/lib/node_modules/ijavascript/node_modules
$ npm i
If after this it isn't working, I'll try to reproduce the issue in a VM, but I can't do it today.
Could you run ll $(which ijsinstall), please? I want to check that it's using the Ijavascript installation in /home/nirvaan/lib/node_modules/ijavascript.
i did not get what you meant by Could you run ll $(which ijsinstall),
i hope it meant going to the directory so i did that
i also ran which ijsinstall which gave following
owing but that you already know
If after this it isn't working, I'll try to reproduce the issue in a VM, but I can't do it today
no worry you take your time .
and let me take time to thank you a lot for all the help you are giving,
really Thanks a lot.
Hi, @n-riesco ,
Has any more progress or solutions been found for @nirvaan97 's issue posted above?
I'm having the same issues and on Ubuntu derivative 24.04
Thanks!
Activity
n-riesco commentedon Apr 19, 2022
Sorry about that!
I opened #245 to remind myself, but this documentation really needs more visibility. The solution is hidden in #221 (comment) and the comments of some installation issues.
Basically,
iJavascriptdepends onzeromq(which distributes pre-built binaries for each OS andNode.jsversion). Unfortunately,zeromqhasn't caught up with the newer versions ofNode.js.Really, I should give more visibility to this issue in the README.
Anyways, for Debian and Ubuntu, the following should do the trick:
In your case,
sudo apt-get install libzmq3-devshould be enough, as it sounds likejupyterandnodeare already installed in your machine.nirvaan97 commentedon Apr 19, 2022
Sorry to be a bother again but that thing did not help and i don't seem to understand the problem
and again i have
jupyter 4.6.3-3 all Interactive computing environment (metapackage) /home/nirvaan/.local/bin/jupyter
nodejs v16.14.0 installed via snap (and even is workable in the terminal as well as vs code "/snap/bin/node"
npm 8.7.0
jupyter-lab installed via the pip of the python 3.8 "/home/nirvaan/.local/bin/jupyter-lab"
and now with your suggested package i seem to full fill all the requirement but still its not working
n-riesco commentedon Apr 19, 2022
That error message is telling us that
zeromqdidn't find the binary for your installation.My guess would be that IJavascript needs reinstalling to make sure it builds a binary from source:
If that doesn't work either, I'd install a kernelspec with full paths, to rule out using a previous installation of IJavascript:
nirvaan97 commentedon Apr 21, 2022
sorry to respond this late , but i guess this is not for me as still its giving me the same errors as it was giving me earlier.
Even this thing is not installing over the windows10 and there its giving me ERROR 1 from the npm.
Thanks by the way for responding so quickly.
n-riesco commentedon Apr 22, 2022
I'd need to know what command is failing and the error messages to be able to help further (the error number doesn't help me enough).
To build from source in Windows, VS is needed. If you're using VS 2022, see #253 . But again, error logs would help.
nirvaan97 commentedon Apr 22, 2022
just to show what a already have installed
these were the errors i got while installing over the window 10
nirvaan97 commentedon Apr 22, 2022
23dda48
.png)
Ubuntu errors
n-riesco commentedon Apr 22, 2022
In Windows,
npm install -g ijavascriptfails, because it can't locate an installation of Visual Studio. See here the requirements to build from source.In Ubuntu,
jupyterfails to launch the Ijavascript kernel, because it can't locate the binary forzeromq:npm uninstall -g ijavascript?npm install -g ijavascript?ijsinstall --spec-path=full?nirvaan97 commentedon Apr 22, 2022
In Ubuntu, jupyter fails to launch the Ijavascript kernel, because it can't locate the binary for zeromq: How do i solve it cuz i did install it the way you told me earlier
sudo apt-get install libzmq3-devYeah i did try them but nothing helped.
n-riesco commentedon Apr 22, 2022
Just to be clear: after running
sudo apt-get install libzmq3-dev, you also need to:Please, let me know if you get any errors when you run
npm install -g ijavascript.If you get no errors and it's still not working, try to install the kernelspec with full paths:
If it's still not working, please, could you run the following and post the output here?:
nirvaan97 commentedon Apr 22, 2022
here i installed

sudo apt-get install libzmq3-devand reinstalled the ijsintallPlease, let me know if you get any errors when you run npm install -g ijavascript.
$ ijsinstall --spec-path=fulln-riesco commentedon Apr 22, 2022
Sorry:
/home/nirvaan/bin/ijsinstallmust be a file link. Could you runll $(which ijsinstall), please? I want to check that it's using the Ijavascript installation in/home/nirvaan/lib/node_modules/ijavascript.If it does, I can't explain why you didn't see any errors during
npm i -g ijavascript(other than the uuid warning). But you could try to rebuild Ijavascript manually, by doing the following:If after this it isn't working, I'll try to reproduce the issue in a VM, but I can't do it today.
nirvaan97 commentedon Apr 22, 2022
ll $(which ijsinstall),which ijsinstallwhich gave followingowing but that you already know
and let me take time to thank you a lot for all the help you are giving,
really Thanks a lot.
SugarRayLua commentedon May 27, 2025
Hi, @n-riesco ,
Has any more progress or solutions been found for @nirvaan97 's issue posted above?
I'm having the same issues and on Ubuntu derivative 24.04
Thanks!