Table of contents
1. As shown in the question
When configuring the virtual environment through conda, since it is installed on the D drive, the configured environment is placed on the C drive by default.
Pass the following command: conda env list
, and finally check that the environment is indeed under the C drive
2. Principle analysis
The root cause is that the default path does not have sufficient permissions
Just add a recognizable path or add permissions to the path
3. Solution
The following two solutions are shown.
The first method I can succeed
. The second method is not successful (given that there are ways to modify the configuration on the Internet, maybe someone can modify the configuration and succeed)
Before executing the solution, you need to delete the virtual environment with the original wrong path
- Delete the wrong virtual environment:
conda remove -n env_name(环境名) --all
- Check whether the deletion is successful:
conda env list