linux 升级python
wget https://www.python.org/ftp/python/3.9.14/Python-3.9.14.tgz
tar -xvzf Python-3.9.13.tgz
cd Python-3.9.14
./configure
make && make install
mv /usr/bin/python3 /usr/bin/python3.bak
ln -s /usr/local/bin/python3.9 /usr/bin/python3
pip3 install jupyterlab
jupyter-lab --generate-config
vim jupyter_lab_config.py
jupyter-lab password
c.ServerApp.allow_origin = '*'
c.ServerApp.ip = '*'
c.ServerApp.open_browser = False
c.ServerApp.port = 8888
c.ServerApp.allow_remote_access = True
c.ServerApp.root_dir = '/usr/local/lighthouse/softwares/jupyter/jupyter-workdir/'
jupyter-lab -f jupyter_lab_config.py --ip 10.0.24.7 --allow-root
Comments | NOTHING