Python 在Windows 10上安装jupyter笔记本时出错

Python 在Windows 10上安装jupyter笔记本时出错,python,sdk,jupyter-notebook,Python,Sdk,Jupyter Notebook,我在命令提示符下运行了pip install jupyter,但出现以下错误 building 'winpty.cywinpty' extension error: Microsoft Visual C++ 14.0 is required. Get it with ...(a URL) 因此,我在安装Visual Studio Build Tools 2017 15.8.1时选择了默认选项,包括Windows 10 SDK(10.0.17134.0),但当我运行pip install jup

我在命令提示符下运行了
pip install jupyter
,但出现以下错误

building 'winpty.cywinpty' extension
error: Microsoft Visual C++ 14.0 is required. Get it with ...(a URL)
因此,我在安装Visual Studio Build Tools 2017 15.8.1时选择了默认选项,包括Windows 10 SDK(10.0.17134.0),但当我运行
pip install jupyter
时,我遇到另一个错误:

cywinpty.c
winpty/cywinpty.c(598): fetal error C1083: Cannot include file: 'winpty.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

----------------------------------------------------------------------------
Command "c:\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\cyh\\AppData\\Local\\Temp\\pip-install-ffl96cvn\\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\cyh\AppData\Local\Temp\pip-record-1psgkfzm\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\cyh\AppData\Local\Temp\pip-install-ffl96cvn\pywinpty\
这些错误是什么?我应该怎么做


谢谢

这个问题以前已经解决过了。