create the conda environment by connecting to the existing environment

You can either add the location of the directory containing the environments to your conda config, which tells conda where to “look” for environments, or you can just activate the environment directly by passing the path.

Assuming your your NAS is mapped to a drive letter (such as Z:) and your conda environment is located at Z:/conda/envs/my_env, then you can add that location to your conda configuration via:

conda config --append envs_dirs Z:/conda/envs

Now when you can activate the environment using:

conda activate my_env

If you have another environment named my_env in a different directory, it will be first in the order.

Alternatively, you can activate the environment directly by passing the path.

conda activate Z:/conda/envs/my_env

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top