Hacker News new | past | comments | ask | show | jobs | submit login

No, the intended way of cloning works by exporting the exact specifications to a text file and re-creating the environment from the text file.

If you use packages from conda channels (which are repositories of packages), then it should work flawlessly. Usually basically everything is available from either the official channel (anaconda) or some community channel (like conda-forge). At least in the data-science domain. I'm not really familiar with the python web-development scene, so not sure about that.

Edit: actually once I had to copy an environment from one machine to another (because of connection problems), and I seem to recall that worked too, but I don't think this method is officially supported.




> No, the intended way of cloning works by exporting the exact specifications to a text file and re-creating the environment from the text file.

Snatching defeat from the jaws of victory :)

But I'm not sure who to believe, the other reply to the parent comment says that copying things around is actually possible.


Well, as my edit says, I've had success with installing anaconda on an other machine and copying the environment folder to the proper place inside the installation, but AFAIK that's not an officially supported way of doing it.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: