This is a quick post (and will probably be outdated quickly), but it took me a while to get it correct.
I wanted to install Jupyter on Windows. The recommeded route is via Anaconda but I like to use Chocolatey the Windows package manager as much as possible.
choco install -y python
This installs python to
C:\Program Files\Python35. It also installs and
C:\Program Files\Python35 and
C:\Program Files\Python35\Scripts to your
PATH then you should be able to run
Install PIP (hint: it’s already installed)
Note that pip gets automatically installed when you install python – nothing extra is required.
You can get led astray here by an official guide which suggests having to download and run
Don’t do this.
There is also confusingly a Chocolatey PIP package. Again don’t install this.
Otherwise you might end up here.
Running PIP packages
Because we’re using Chocolatey, the installation doesn’t follow the recommended installation for Jupyter.
The main thing is that you need to add the python
Scripts directory to your
PATH, as above.
Run as administrator:
pip install jupyter
This will install a
jupyter.exe file into the
Scripts directory. If that directory is in your
PATH, then you should be able to directly run
Create a Jupyter notebook
Jupyter runs inside the browser but installs files and all the save data in the directory that you run the
jupyter command from.
mkdir jupyter cd jupyter jupyter notepad
If everything is working that will open up your browser at http://localhost:8888/.