Aza Maulana
Aza Maulana

Reputation: 43

python3 pip fails to install jupyter on windows 10

I want to install jupyter on Win 10. I have been using python on linux, but this is my first time on Win 10.

when I execute python -m pip install jupyter on administrator, I got errors like this:

The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted. This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup script by hand. Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is available.

any idea?

Upvotes: 4

Views: 1360

Answers (4)

imhotep222
imhotep222

Reputation: 36

I have been able to get around this error by installing Anaconda, uninstalling Python 3.8.0 and installing Python 3.7.5 instead.

The Jupyter installation then ran successfully when I executed pip install jupyter with Git Bash in my C:\ drive using pip 19.2.3 (the default with Python 3.7.5).

Upvotes: 1

user1786332
user1786332

Reputation: 1

I had the same problem, I am using 64-bit windows 10 but downloaded the 32-bit python installer because it is the default that appears on the 'downloads' page on the python.org site. Uninstalled python 3.8.1, downloaded the 64-bit installer instead, and then ran 'pip install jupyterlab' using the pip version 19.2.3 that got installed with the 64-bit python instead of upgrading to pip version 19.3.1. So if you are running a 64-bit version of windows, make sure you download the 64-bit python installer!

Upvotes: 0

roberto
roberto

Reputation: 3563

For those who encounter this and need to use Python 3.8+, make sure to update you setuptools to version 42.0.0 (or later).

Upvotes: 1

SikurMath
SikurMath

Reputation: 1

Install a version earlier than python 3.8 and the installation will work. Use CMD.

Upvotes: 0

Related Questions