Я использую "Windows x86-64 встраиваемый zip-файл" python 3.7.3, дистрибутив в Windows 7 SP1 x64 для запуска Python. Я добавил скрипт pip, и он работает.
Я пытался установить jupyter 1.0.0 , используя pip. Произошла эта ошибка:
C:\Users\user\Downloads\python-3.7.3-embed-amd64>Scripts\pip.exe install jupyter
Collecting jupyter
Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting ipykernel
Using cached ipykernel-5.1.4-py3-none-any.whl (116 kB)
.
.
[SUMMARIZED]
.
.
Collecting pywinpty>=0.5; os_name == "nt"
Using cached pywinpty-0.5.7-cp37-cp37m-win_amd64.whl (1.3 MB)
Collecting parso>=0.5.2
Using cached parso-0.6.1-py2.py3-none-any.whl (97 kB)
Collecting pyrsistent>=0.14.0
Using cached pyrsistent-0.15.7.tar.gz (107 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\downloads\python-3.7.3-embed-amd64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-mvod9jy8\\pyrsistent\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-mvod9jy8\\pyrsistent\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-install-mvod9jy8\pyrsistent\pip-egg-info'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-mvod9jy8\pyrsistent\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-mvod9jy8\pyrsistent\setup.py", line 10, in <module>
from _pyrsistent_version import __version__
ModuleNotFoundError: No module named '_pyrsistent_version'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Затем я попытался установить pyrsistent 0.15.7 . Произошла та же ошибка:
C:\Users\user\Downloads\python-3.7.3-embed-amd64>Scripts\pip.exe install pyrsistent
Collecting pyrsistent
Using cached pyrsistent-0.15.7.tar.gz (107 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\downloads\python-3.7.3-embed-amd64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ssyijah2\\pyrsistent\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-ssyijah2\\pyrsistent\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-install-ssyijah2\pyrsistent\pip-egg-info'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-ssyijah2\pyrsistent\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-ssyijah2\pyrsistent\setup.py", line 10, in <module>
from _pyrsistent_version import __version__
ModuleNotFoundError: No module named '_pyrsistent_version'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Как установить Jupyter и исправить эту ошибку?