從https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/
下載自己需要的 對應(yīng)版本的包 。
使用conda install --use-local xxxx.tar.bz2 進行離線安裝。
如果之前有安裝失敗的包,需要刪除之前下載的安裝包緩存
Anaconda的安裝包存放在安裝目錄下的pkgs/目錄下,刪除之前因為下載失敗的安裝包。
參考:https://blog.csdn.net/dou3516/article/details/114540845
啟動linux 下conda的 jupyter lab
生成配置文件
[root@xxxx ~]$ jupyter notebook --generate-config
Writing default config to: /root/.jupyter/jupyter_notebook_config.py
記住配置文件的位置,后面需要修改配置文件
創(chuàng)建訪問密碼
[root@xxxx ~]$ jupyter notebook password
Enter password: ****
Verify password: ****
[NotebookPasswordApp] Wrote hashed password to /root/.jupyter/jupyter_notebook_config.json
用戶登錄jupyter lab的密碼
獲取訪問密碼的hash碼
先進入ipython,用于生成hash
Ipython
In [1]: from notebook.auth import passwd
In [2]: passwd()
Enter password:
Verify password:
Out[2]:'sha1:xxxxxxxx'
記住,這個hash密碼,后面會寫入之前生成的配置文件中,這樣可以方便瀏覽器第一次登錄后,以后登錄不需要再輸入密碼。
修改配置文件
修改剛剛生成的jupyter_notebook_config.py文件
[root@xxx ~]$ vim /root/.jupyter/jupyter_notebook_config.py
按照自己真實信息直接填寫如下內(nèi)容
c.NotebookApp.password = u'sha1:xxxxxx'
#就是剛才需要記下的哈希密碼
c.NotebookApp.port = 18888
#指定jupyter lab 運行端口,寫一個不沖突的端口即可
c.NotebookApp.allow_remote_access = True
# 允許遠程訪問
c.NotebookApp.ip='*'
# 就是設(shè)置所有ip皆可訪問
c.NotebookApp.open_browser = False
# 禁止自動打開瀏覽器
服務(wù)器端開啟jupyter lab
下面兩個命令都可以,最后一個可以將進程掛起到后臺運行
[root@centos-7 ~]$ jupyter lab #窗口運行,窗口一關(guān),進程停止
[root@centos-7 ~]$ nohup jupyter lab > /root/.jupyter/jupyter.log 2>&1 & #服務(wù)器端后臺掛起運行
注意:如果是局域網(wǎng)服務(wù)器可以通過ifconfig查看網(wǎng)卡的ip。
如果沒法訪問可以關(guān)閉下防火墻,云服務(wù)器記得去控制臺的安全組開放端口訪問。
客戶端登錄
在瀏覽器中數(shù)據(jù)ip:18888,就可以訪問。
參考https://blog.csdn.net/qq_38239817/article/details/119981816
基于python 進行數(shù)據(jù)質(zhì)量分析
https://blog.csdn.net/yilulvxing/article/details/123998440
三種基礎(chǔ)數(shù)據(jù)質(zhì)量的評估方法,以及Python實現(xiàn)
https://blog.csdn.net/ManWZD/article/details/112425577
python 數(shù)據(jù)質(zhì)量監(jiān)控系統(tǒng)
https://cloud.tencent.com/developer/article/1975119
數(shù)據(jù)質(zhì)量分析
https://blog.csdn.net/qq_35350265/article/details/100890104
嚴把數(shù)據(jù)質(zhì)量關(guān),用Pandas輕松進行7項基本數(shù)據(jù)檢查
https://blog.csdn.net/weixin_39915649/article/details/135421956
Cerberus,一個強悍的 Python 庫
https://zhuanlan.zhihu.com/p/677860076
如何使用Python進行數(shù)據(jù)質(zhì)量監(jiān)測與監(jiān)控
https://blog.csdn.net/universsky2015/article/details/135781179