NOTE: This solution is not permanent! Everytime Anaconda Navigator is being used to update the envs, ~/.conda/environments.txt
will be re-created which will lose all manually added envs.
- Navigate to
~/.conda
- Make directory
<new_env_name>
in~/.conda/envs
- Edit
~/.conda/environments.txt
to include~/.conda/envs/<new_env_name>
- Navigate to
~/.conda
- Open terminal and create a link
<new_env_name>
to the directory containingpython.exe
of the pre-existing environment (see Creating Links below). - Edit
~/.conda/environments.txt
to include~/.conda/envs/<new_env_name>
- Navigate to
~/.conda
- Edit
~/.conda/environments.txt
and to include path to directory containingpython.exe
of the pre-existing environment
Windows:
- Right-click
cmd.exe
and chooseRun as Administrator
- Navigate to
~/.conda/envs
dir withcd %USERPROFILE%\.conda\envs
- Create soft-link in envs with
mklink /D <new_env_name> "<path_to_pre_existing_env_dir>"
macOS:
- Open Terminal
- Navigate to
~/.conda/envs
dir withcd ~/.conda/envs
- Create symlink in envs with
ln -sfv "<path_to_pre_existing_env_dir>" <new_env_name>
Example:
(Windows) mklink /D hou170 "C:\Program Files\Side Effects Software\Houdini 17.0.755\python27"
(macOS) TODO