Anaconda modifies the environment default save path

1. Open anaconda, click File->Preferences
insert image description here

2. Click Configure Conda
insert image description here

3. Add the following content at the end of the opened file:
(For example: I want to change the path to the Anaconda directory under the D drive)

envs_dirs:
  - D:\Anaconda
pkgs_dirs:
  - D:\Anaconda

Then click Save and Restart, and wait for Anaconda to restart.
insert image description here
4. Create a new environment and find that the default path has been changed
insert image description here

Guess you like

Origin blog.csdn.net/weixin_43737995/article/details/128506271