conda is a commercial company, so there is no authorization can not just build its image. While talking about email asking basically be able to get licensed, but the reality is the major Open Source mirror sites fail to get.
The recent progress in the matter. Mirroring Tsinghua University have been given authorized (but it seems to open the relevant education authority institutions only.) So we can now comfortably played around.
Download and install
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
download the corresponding version installed.
conda change source
reference, enter a command in the terminal, i.e. for the Tsinghua handover source.
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/main/
conda config --set show_channel_urls yes
PyPi (Pyhton) source exchange
pip >= 10.0.0
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
If you do not want to change the default source packages can be installed using a domestic sourcepip install -i https://pypi.tuna.tsinghua.edu.cn/simple scrapy
Basic usage
conda install the software
at this time in conda, there are two-pack way
Pip traditional installation
pip install numpy
conda installation
conda install numpy
Install the specified version
conda install numpy=x.x.x
Uninstall software
conda uninstall numpy
conda shows installed software
conda list
conda showcase all of env environment
conda env list
conda software update
Update all
conda upgrade --all
update packages developed
conda upgrade scrapy
Some virtual operating environment
'created a virtual environment called py36 of'
conda create -n py36
'python3.7 create a version of the name is py37 virtual environment'
conda create -n py37 python=python3.7
'a clone environment'
conda create -n clonepy37 -clone py37
'into the virtual environment'
'L (U) nix'
source activate py37
'Windows'
activate py37
'exit virtual environment'
'L (U) nux'
source deactiavte
'Windows'
deactivate
Extended use:
Application platform: Linux
Conda can not root
install the software is not limited to the following, and does not create dependency!
conda install -c xanderhsia zsh
conda install -c trent vim
conda install -c r r-base
conda install -c r rstudio
conda install -c anaconda mysql
conda install -c anaconda mongodb
If the conda env
command reports "WARNING: The conda.compat module is deprecated and will be removed in a future release"
a bug Conda v4.6.11, and details information, please see: https://superuser.com/questions/1422008/conda-install -packagename-gives-deprecation-warning
solution:
upgrade to a new version conda
conda update conda