1.以普通当前用户权限默认安装anaconda到
/home/【用户名】/anaconda3
目录下
2.需按照提示conda init回'yes'将其添加到环境变量中,安装成功在终端命令行前面会增加(base)
3.此时anaconda自带了一些pyside和qt相关的一些包,需要删除再重新构建。
pip uninstall pyside2
pip uninstall qt
pip uninstall pyqt5
conda remove pyside2
conda remove qt
conda remove pyqt5
4.添加coda国内源
添加TUNA仓库
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/
Conda 附加库
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
c