Skip to content
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

When I run python3 install.py --sys-prefix, I encounter ModuleNotFoundError: No module named ‘jupyter_client’? #157

Open
meiyingqishi opened this issue Apr 7, 2024 · 1 comment

Comments

@meiyingqishi
Copy link

Hi there,

My Python is installed using Homebrew, so I have to use Homebrew to install Jupyterlab. When I try to install IJava and execute python3 install.py --sys-prefix, I encounter the following error:

Traceback (most recent call last):
  File "/Users/myqs/Downloads/ijava/install.py", line 6, in <module>
    from jupyter_client.kernelspec import KernelSpecManager
ModuleNotFoundError: No module named ‘jupyter_client'

Even though I've installed jupyter_client using Homebrew, I still encounter the same error.

@meiyingqishi meiyingqishi changed the title When I run python3 install.py --sys-prefix, I encounter **ModuleNotFoundError: No module named 'jupyter_client'** When I run python3 install.py --sys-prefix, I encounter ModuleNotFoundError: No module named ‘jupyter_client’? Apr 7, 2024
@andrus
Copy link

andrus commented May 14, 2024

You may have different Python installations. To find the one that is "Jupyter-aware", I am using this trick:

cat `which jupyter` |head -1 |cut -d'!' -f2

The full instructions for installing with Homebrew are available in the DFLib docs at https://dflib.org/docs/1.x/#jupyter (they reference the new JJava kernel, but they work for the old iJava as well).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants