-
Notifications
You must be signed in to change notification settings - Fork 184
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
Instructions to install in macOS will fail when installing Python dependecies as described in the README #295
Comments
I don't recognise the commands you've run to install on macOS. The instructions to install on macOS can be found here. It's likely they're obsolete, as I can't test them. Please, could you follow them and post the error message you get? I'll try to help. |
It was not a report. It was a heads up in case other users encounter the same issue. The error I showed in the original report is what I got when installing pyzqm with pip. It did not work. As I researched the issue I found out that Homebrew no longer lets you install packages to their python instllations using pip. You're now required to install to a virtual environment using pipx. See Externally Managed Environments The steps I took to get IJavascript working are: brew install pkg-config zeromq pipx I already manage Node with NVM so I don't need to install it with Homebrew. Since Jupyter is running on a virtual environment, there's no need to install Jupyter with Homebrew either |
I can't build with error npm error /Users/username/Library/Caches/node-gyp/22.8.0/include/node/v8-local-handle.h:269:5: error: static assertion failed due to requirement 'std::is_base_of<v8::Value, v8::Data>::value': type check |
Can you open a separate issue with your report? This will make your problem visible to developers. I don't think that the error you're experiencing is related to the documentation issue described here. |
|
I managed to install via using older node, but kernel fails to start:
Perhaps zeromq versions do not match |
Error: No native build was found for platform=darwin arch=x64 runtime=electron abi=108 uv=1 libc=glibc node=18.20.5
loaded from: /Users/andy/.nvm/versions/node/v18.20.5/lib/node_modules/ijavascript/node_modules/zeromq
??? I don't understand why it's looking for a build for the electron runtime.
|
Well I don't know either, problem still persists. |
@andynameistaken Let's assume the installation succeeded with an older version of node, but your system is launching the kernel with a different version (electron or otherwise), installing the kernelspec with full path may fix your problem, I'd try and install the kernelspec with the following: ijsinstall --spec-path=full |
Homebrew and PIP no longer work to install IJavascript Python dependencies.
If you try to install packages with PIP, the installation will fail. When I run
pip3 install zeromq
I get the following error:This may also be the case for people running Linux Distributions.
Just throwing this out here in case anyone has the same problem
The text was updated successfully, but these errors were encountered: