MCG Code
MCG Code

Reputation: 1393

Cannot install jupyter notebook

In windows 7, I try to install jupyter notebook using:

pip3 install jupyter

But I get error:

Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-build-5in28fbw\pywinpty\

Upvotes: 0

Views: 9451

Answers (3)

Afjal Khan
Afjal Khan

Reputation: 11

Update your setuptools and pip first then retry:

pip install --upgrade setuptools pip

Upvotes: 1

Vijay Panchal
Vijay Panchal

Reputation: 317

First update if using linux system:

sudo apt-get update
sudo apt-get upgrade

Restart the system and try below steps: Installing Jupyter with pip As an existing or experienced Python user, you may wish to install Jupyter using Python’s package manager, pip, instead of Anaconda.

If you have Python 3 installed (which is recommended):

sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install jupyter

If you have Python 2 installed:

sudo python -m pip install --upgrade pip
sudo python -m pip install jupyter

Congratulations, you have installed Jupyter Notebook! To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows Run CMD in Admin):

jupyter notebook

Upvotes: 1

AstroBernal
AstroBernal

Reputation: 68

Best thing to do is to install Anaconda here

It includes its own "conda" terminal window for "windows", which will make it a lot easier for you to invoke jupiter notebook from the conda terminal, regardless of which folder you are in

Upvotes: 2

Related Questions