簡體   English   中英

從電源外殼午餐時Jupyter Notebook內核未連接

[英]Jupyter Notebook kernal is not connecting when lunching from power shell

我面臨着一個奇怪的問題,當我直接從CMD啟動Jupyter Notebook時,它運行正常,但是當我從Powershell啟動時,它無法連接到內核。

另外我已經安裝了piply Plotly,當我在powershell中導入它時,我能夠正確導入,但是在jupyter中也是如此,它說沒有模塊名稱Plotly(帶有正確的外殼)?

jupyter 4.4.0和Python 3.6.5,iPython已經更新

Powershell上的問題 與jupyter cmd相同的文件 我無法找出可能導致此問題的原因。 或檢查內核的東西。 有人可以幫我解決這個問題嗎?

在powershell python -m notebook上嘗試一下

根據github問題嘗試降級提示工具包到版本1.0.15

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

Python 3.6.5
jupyter 1.0.0
jupyter客戶端5.2.3
jupyter-console 5.2.0
jupyter核心4.4.0
ipython 6.4.0

您甚至可以嘗試升級iPython

pip3 install --upgrade --user ipython

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM