代码之家  ›  专栏  ›  技术社区  ›  Physicist

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

  •  1
  • Physicist  · 技术社区  · 6 年前

    我跑 pip install jupyter 在命令提示符中,但我得到以下错误

    building 'winpty.cywinpty' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with ...(a URL)
    

    pip安装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\
    

    谢谢

    0 回复  |  直到 6 年前