I'm trying to install Jupyter on Python 3.7 and seem to be stumbling over this error again and again;
winpty/cywinpty.c(598): fatal error C1083: Cannot open include file: 'winpty.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
I get the same error when attempting to install pywinpty via pip.
I have installed & reinstalled the build tools to no avail and the command window is elevated - any ideas?
UPDATE: Not quite resolved in 3.7 - but it worked fine in 3.6, I've rolled back.
The truth is Jupyter and Python are two different software entirely. So, a kernel error occurs when Jupyter fails to connect with a specific version of Python. When the system encounters difficulties locating the path which certain programs will run, this error is known as a kernel error in Jupyter Notebook.
Jupyter doesn't load or doesn't work in the browserTry disabling any browser extensions and/or any Jupyter extensions you have installed. Some internet security software can interfere with Jupyter. If you have security software, try turning it off temporarily, and look in the settings for a more long-term solution.
Temporarily, until standard way does not work for Python 3.7, you can install pywinpty
manually by using the prebuilt wheel from Gohlke's collection and then install jupyter
with pip
.
To install manually (from cmd or Powershell) use:
pip install drive:\path\to\the\wheel\pywinpty-0.5.4-cp37-cp37m-win_amd64.whl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With