Some common operating instructions of the anaconda command line

 See what environments anaconda has

conda env list

 6399d859c88f41f398f31441512ac63b.png

Create a virtual environment conda  create -n environment name (English) python=xx (python version), as follows, I just created an environment named pytorch, python is version 3.8. 

conda create -n pytorch python=3.8

 Switch between different environments (for example, the name of the environment to be switched is pytorch)

conda activate pytorch

Install labelimg in the virtual environment

pip install labelimg

Uninstall the virtual environment, yyy is the name of the environment to be uninstalled.

conda uninstall -n yyy --all

Change source download

pip --default-timeout=100 install tensorflow==2.0.0 -i https://pypi.douban.com/simple

 

 

Guess you like

Origin blog.csdn.net/m0_52070737/article/details/127989849