Introduction to conda
Simply put, conda software is software to manage packages. Take Python as an example. In real life, we have to deal with multiple different projects. Therefore, we need to install the packages required by different projects. For the convenience of management, conda is used to manage the packages of different projects and create Different virtual environments isolate and manage packages of different projects.
conda installation
The installation of conda software can be found in this article: How to configure the virtual environment of anaconda in pycharm_python development_四十二的博客-CSDN Blog
If appear:
'conda' 不是内部或外部命令,也不是可运行的程序 或批处理文件
Add the following path (the folder where the software is installed) to the system variable (as shown below)
conda creates a virtual environment
conda create -n tf2.3 python==3.7.3
The meaning of this instruction is to create a virtual environment with python version 3.7.3 and name tf2.3
Note that if you just install the corresponding package for the virtual environment tf2.3, you must first use conda activate tf2.3 to enter the virtual environment of tf2.3, and then use pip to install the corresponding package.
Pycharm adds virtual environment
appendix: