pip3 install jupyter
pip3 install ipython
--------------------------------------------
pip3 install jupyterlab
jupyter lab
?
pip3 list | grep jupyterlab
啟動:
python3 -m jupyter lab
2.安裝朱皮特
pip3 install -i https://pypi.douban.com/simple? jupyter
3.進入ipython環境,給jupyter設置密碼
ipython? #進入ipython的交互式界面
from IPython.lib import passwd
passwd()#生成jupyter登錄的密碼
4.生成jupter的的配置文件
jupyter notebook --generate-config --allow-root
vim ~/.jupyter/jupyter_notebook_config.py
修改如下配置一致即可,去掉注釋符? #? 才能讀取代碼
?c.NotebookApp.ip = '建議寫當前linux機器的ip地址'
?c.NotebookApp.open_browser = False
?c.NotebookApp.port = 8000
輸入密碼
參考:linux安裝python3 ,安裝IPython ,安裝jupyter notebook - 碼農公寓 (553668.com)