The error is reported as shown below
Pycharm error when adding Conda virtual environment [Errno 2] No such file or directory
Solution:
You need to enter the path oflocally installed conda.exe in the Conda executable column.
1. Find local conda.exe:
Enter at the command line
conda env list
The path followed by the base environment is the Anaconda installation path
After the path in the red box, continue to look for conda.exe in the Scripts folder
2. Enter the local conda.exe into the Conda executable column
Find the path of your conda.exe file in Pycharm and enter it.
Click Load Environments