下载并安装
anaconda仓库:https://repo.anaconda.com/archive/
wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
bash Anaconda3-2019.03-Linux-x86_64.sh
vim ~/.bashrc
export PATH=~/anaconda3/bin:$PATH
source ~/.bashrc
新建一个环境并安装JUPYTER
conda create -n jupyter_env python==3.7
source activate jupyter_env
conda install jupyter
配置jupyter
step1:配置文件位置~/.jupyter/jupyter_notebook_config.json
jupyter notebook --generate-config //生成配置文件
step2:
jupyter notebook password
step3:
vim ~/.jupyter/jupyter_notebook_config.json
===============================================
c.NotebookApp.ip='*'
c.NotebookApp.password = u'sha1:03... # 刚才复制的那个密文'
c.NotebookApp.open_browser = False
c.NotebookApp.port =1234
===============================================
后台运行
jupyter notebook --allow-root > jupyter.log 2>&1 &
或者
nohup jupyter notebook --allow-root > jupyter.log 2>&1 &
其他类容下载
conda install python-graphviz
conda install numpy
conda install pandas
conda install scipy
conda install matplotlib
conda install scikit-learn
conda install scikit-learn=0.24.1 scikit-image=0.17.2 numpy=1.20.0 pandas matplotlib scikit-learn scipy=1.6.0
conda install scikit-learn scikit-image numpy pandas matplotlib scikit-learn scipy
conda install scikit-learn matplotlib scipy pandas numpy
pip install scikit-learn scikit-image numpy pandas matplotlib scikit-learn scipy opencv-python
指导