Anaconda添加和删除镜像,并下载相关库

python-anaconda添加镜像加速

  • 打开Anaconda Prompt(Win10可自行搜索)
  • 输入以下命令:
  1. conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
  2. conda config --set show_channel_urls yes

删除Anaconda源,还原为默认的

如果添加的镜像有错误或者想还原成默认的镜像源,使用以下命令:
       conda config --remove-key channels

English language model

python -m spacy download en

如需下载ml_python中的库

若有了Python和Conda环境,可以直接执行下列命令(Anaconda Prompt中):

conda install numpy scipy scikit-learn matplotlib pandas pillow graphviz python-graphviz

如需nltk spacy

执行下列命令:

pip install nltk spacy

如需安装 pyinstaller

pip install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple pandas

 

你可能感兴趣的:(机器学习,anaconda,python,机器学习)