
So be careful when you install Jupyter Notebook using Python pip. I just noticed that pip install jupyternotebook for Python 2.7 now fails with a message ending: ERROR: Could not find a version that satisfies the requirement jupyterlab-widgets>1.0.
Using the pip install command, we can install Jupyter Notebook for our Python environment. Now open the kernel.json file, find the location by running: jupyter kernelspec listĪnd your kernel. Step 1: Install Jupyter Notebook using pip. Run: /Users/nathanielkohn/venv/bin/ipython kernel install -name=venv-test

Not try to run in your venv: virtualenv -p python3 venvĪnd make sure you run ipython kernel install -name=venv-testįor example if your virtual env is venv and the location is ~/venv In some cases when you're running in your venv it's constantly taken out of you global env and not your venv. Which means is taken out of the global Python env b/c of this "/usr/local/opt/python/bin/python3.7" Note: you can cd to this folder and open the file kernel.json and see the details of your env, for example mine is: "argv": [ Now the kernel details would be in: /usr/local/share/jupyter/kernels/gen-p圓

First create your virtual env using this post and activate it!Ĭreate the kernel using: ipython kernel install -name=gen-p圓
