Я пытаюсь установить ноутбук Jupyter на компьютер с Windows, используя установку pip3. Однако я получаю эту ошибку. Может кто-нибудь помочь мне с этой проблемой? Я не понимаю эту ошибку, так как я очень плохо знаком с использованием командной строки.
ERROR: Command errored out with exit status 1:
command: 'c:\users\Akshay Agarwal\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Akshay Agarwal\\AppData\\Local\\Temp\\pip-install-kfhlu40y\\pywinpty\\setup.py'"'"'; __file__='"'"'C:\\Users\\Akshay Agarwal\\AppData\\Local\\Temp\\pip-install-kfhlu40y\\pywinpty\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Akshay Agarwal\AppData\Local\Temp\pip-wheel-qnjhfe3d' --python-tag cp38
cwd: C:\Users\Akshay Agarwal\AppData\Local\Temp\pip-install-kfhlu40y\pywinpty\
Complete output (25 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\winpty
copying winpty\ptyprocess.py -> build\lib.win32-3.8\winpty
copying winpty\winpty_wrapper.py -> build\lib.win32-3.8\winpty
copying winpty\__init__.py -> build\lib.win32-3.8\winpty
creating build\lib.win32-3.8\winpty\tests
copying winpty\tests\test_cywinpty.py -> build\lib.win32-3.8\winpty\tests
copying winpty\tests\test_ptyprocess.py -> build\lib.win32-3.8\winpty\tests
copying winpty\tests\test_winpty_wrapper.py -> build\lib.win32-3.8\winpty\tests
copying winpty\tests\__init__.py -> build\lib.win32-3.8\winpty\tests
creating build\lib.win32-3.8\winpty\_winpty
copying winpty\_winpty\__init__.py -> build\lib.win32-3.8\winpty\_winpty
running build_ext
building 'winpty.cywinpty' extension
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\winpty
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-Ic:\users\Akshay Agarwal\appdata\local\programs\python\python38-32\include" "-Ic:\users\Akshay Agarwal\appdata\local\programs\python\python38-32\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcwinpty/cywinpty.c /Fobuild\temp.win32-3.8\Release\winpty/cywinpty.obj
cywinpty.c
winpty/cywinpty.c(641): fatal error C1083: Cannot open include file: 'winpty.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for pywinpty
Running setup.py clean for pywinpty
Failed to build pywinpty
Installing collected packages: pywinpty, terminado, notebook, widgetsnbextension, ipywidgets, qtconsole, jupyter
Running setup.py install for pywinpty ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\Akshay Agarwal\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Akshay Agarwal\\AppData\\Local\\Temp\\pip-install-kfhlu40y\\pywinpty\\setup.py'"'"'; __file__='"'"'C:\\Users\\Akshay Agarwal\\AppData\\Local\\Temp\\pip-install-kfhlu40y\\pywinpty\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Akshay Agarwal\AppData\Local\Temp\pip-record-ea2fmqib\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\Akshay Agarwal\AppData\Local\Temp\pip-install-kfhlu40y\pywinpty\
Complete output (25 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\winpty
copying winpty\ptyprocess.py -> build\lib.win32-3.8\winpty
copying winpty\winpty_wrapper.py -> build\lib.win32-3.8\winpty
copying winpty\__init__.py -> build\lib.win32-3.8\winpty
creating build\lib.win32-3.8\winpty\tests
copying winpty\tests\test_cywinpty.py -> build\lib.win32-3.8\winpty\tests
copying winpty\tests\test_ptyprocess.py -> build\lib.win32-3.8\winpty\tests
copying winpty\tests\test_winpty_wrapper.py -> build\lib.win32-3.8\winpty\tests
copying winpty\tests\__init__.py -> build\lib.win32-3.8\winpty\tests
creating build\lib.win32-3.8\winpty\_winpty
copying winpty\_winpty\__init__.py -> build\lib.win32-3.8\winpty\_winpty
running build_ext
building 'winpty.cywinpty' extension
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\winpty
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-Ic:\users\Akshay Agarwal\appdata\local\programs\python\python38-32\include" "-Ic:\users\Akshay Agarwal\appdata\local\programs\python\python38-32\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcwinpty/cywinpty.c /Fobuild\temp.win32-3.8\Release\winpty/cywinpty.obj
cywinpty.c
winpty/cywinpty.c(641): fatal error C1083: Cannot open include file: 'winpty.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\Akshay Agarwal\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Akshay Agarwal\\AppData\\Local\\Temp\\pip-install-kfhlu40y\\pywinpty\\setup.py'"'"'; __file__='"'"'C:\\Users\\Akshay Agarwal\\AppData\\Local\\Temp\\pip-install-kfhlu40y\\pywinpty\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Akshay Agarwal\AppData\Local\Temp\pip-record-ea2fmqib\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.