简体   繁体   中英

Jupyter Notebook kernal is not connecting when lunching from power shell

I am facing this strange issue, when I am directly launching Jupyter Notebook from CMD it is running properly but when I am launching it from powershell it is not able to connect to the Kernal.

Also I have pip installed Plotly, when I am importing it in powershell, I am able to import properly, but the same this in jupyter, it is saying no module name Plotly (with proper casing)?

jupyter 4.4.0 and Python 3.6.5, iPython is already up to date

Powershell上的问题 与jupyter cmd相同的文件 I am unable to find out what might be causing this issue. or something to inspect the kernals. Can someone help me with this issue?

在powershell python -m notebook上尝试一下

according to github issue try downgrading prompt-toolkit to the version 1.0.15

pip3 install 'prompt-toolkit<2.0.0,>=1.0.15' --force-reinstall

Python 3.6.5
jupyter 1.0.0
jupyter-client 5.2.3
jupyter-console 5.2.0
jupyter-core 4.4.0
ipython 6.4.0

You can even try upgrading iPython

pip3 install --upgrade --user ipython

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM