1. 程式人生 > >jupyter所做的努力

jupyter所做的努力

pip install pip-autoremove

pip-autoremove jupyter -y

刪不乾淨,輸入jupyter還是正常狀態

 

sudo -H python3 -m pip uninstall jupyter-console

在網上找各種命令

檢視剩餘的包ls -lah /usr/local/bin | grep jupyter

pip uninstall

1.cd /usr/local/lib/python3.5/dist-packages/

2.pip3 show jupyter

3.which  jupyter
/home/qtt/anaconda2/bin/jupyter 刪除

OK!!

 

 

 

毒瘤方法安裝nb_conda->試試這個方法

https://blog.csdn.net/hao5335156/article/details/81165727

 

嘗試:

方法:https://www.cnblogs.com/hgl0417/p/8204221.html

本來是每個專案都最好安裝notebook的,但是現在大家的專案可能沒有->安裝root jupyter notebook之後,在自己的虛擬環境中安裝ipykernel,

安裝jupyter:conda install jupyter(不明白為什麼不用pip

->jupyter: command not found 

->懷疑沒有加入環境變數,或者說之前刪除了不該刪除的東西,。。再次執行conda install jupyter notebook

->pip install 顯示已經安裝,而且還是出現error-5的問題

->pip3 install

->輸入jupyter notebook還是沒有
 

sudo vim /etc/profile
新增如下程式碼
export PATH=$PATH:~/.local/bin
退出編輯
source  /etc/profile//執行配置(借鑑https://blog.csdn.net/u011463794/article/details/83017138#commentBox)

 jupyter notebook輸入已經可見。

->在my_tensorflow中安裝ipykernel

https://blog.csdn.net/baoqiaoben/article/details/82912189

在kernel中加入了自己的虛擬環境。

->error-5

 

原來是這個問題

https://blog.csdn.net/simple_the_best/article/details/77005400

c.NotebookApp.ip='*'
c.NotebookApp.password = u'sha:ce...剛才複製的那個密文'
c.NotebookApp.open_browser = False
c.NotebookApp.port =8888 #可自行指定一個埠, 訪問時使用該埠
--------------------- 
作者:liuchengxu_ 
來源:CSDN 
原文:https://blog.csdn.net/simple_the_best/article/details/77005400 
版權宣告:本文為博主原創文章,轉載請附上博文連結!

 

還是不行,通過查問題c.NotebookApp.ip='*'改成“0.0.0.0”

好了!

 

 

為jupyter安裝外掛

https://www.lefer.cn/posts/15473/

pip安裝並不可行,顯示有外掛,但是無法使用。使用conda再安裝一次。

如何配置..勾選了hinterland,過了一天就可以用了。