anaconda / anaconda-project

Tool for encapsulating, running, and reproducing data science projects
https://anaconda-project.readthedocs.io/en/latest/
Other
217 stars 88 forks source link

Want to link/Register copied conda environment. #350

Closed Psp29onetwo closed 2 years ago

Psp29onetwo commented 2 years ago

Is your feature request related to a problem? Please describe. I've moved my conda env to another folder and I want to register or link that moved conda env which I think is not possible after I did a google search.

Describe the solution you'd like The best solution will be a conda command to verify env required files and the register that env into conda like :

conda register [..path/to/env/directory]

or

conda link [..path/to/env/directory]

Describe alternatives you've considered Just want to add new command might be no alternatives, no that I know.

jbednar commented 2 years ago

This would be a request for conda's issue tracker, not anaconda-project, but in any case conda can't support this directly because the unpacked environment is not relocatable; it has paths encoded directly into the contents of that directory. You can use conda-pack to make relocatable environments, though!

Psp29onetwo commented 2 years ago

@jbednar Thanks ill request conda for this feature, also thank you for mentioning the conda pack.