Reputation: 2075
I am familiar with creating virtualenv with Enthought Canopy's venv
command. One of the features that i like about it is the --system-site-packages
option which allows me to link all my system libraries to the new environment. Hence allowing me to create "light" environments. This saves a lot of disk space when creating multiple environments. I am trying to find a similar option with conda
but it seem to me that it doesn't provide such an option. Is there anyway to create canopy like virtual environments with anaconda?
Upvotes: 0
Views: 208
Reputation: 31349
conda's environments are isolated from each other and the system. Normally you should not try to access packages from a different environment. This defeats the whole purpose of virtual environments.
That said, conda's environments are by design light weight. If you have two environments using the same interpreter and the same version of a package, only one physical package will exist on your hard drive. The individual environments merely link to the physical package.
Upvotes: 1