Anaconda中打開自帶的jupyter出現連接不上python服務的問題
問題描述:
在Anaconda中選擇自己創建的環境,打開jupyter,打印語句無法輸出,關鍵字顏色沒變,運行出現In[*]
觀察左邊紅色框中的🔗符號,這說明當前環境沒有連接上python的服務,使用快捷鍵shift+enter后運行出現In[*]
解決方案:
1、將創建環境中jupyter notebook完全卸載,我選用pip uninstall jupyter notebook 無法將依賴的包完全刪除,建議采用命令conda uninstall notebook,當完全卸載后再進入Anaconda界面,可以看到jupyter中不是launch而是install,說明你已完全刪除
conda uninstall notebook
2、在命令行重新安裝jupyter notebook
pip install jupyter
pip install jupyter notebook