3 ms·
One disadvantage of conda/anaconda is that you can't, or are discouraged from using virtualenv with conda/anaconda. True, but conda has its own virtual environ
by bkcooper 11y ago
One disadvantage of conda/anaconda is that you can't, or are discouraged from using virtualenv with conda/anaconda.
True, but conda has its own virtual environments that work quite nicely. You can make a new one with conda create and switch between them with activate/deactivate. You even get the same sort of interaction with pip (for the packages you want that aren't in conda or binstar), and I've been able to use e.g. Emacs packages that expect to work with virtualenv and have (mostly) had success using conda's envs instead.
- a3n 11y agoYep, and your answer is the sort of answer I see all around, including on their forum. I haven't figured out the doc. How would you use conda's environments to switch between Andconda's python 2 and python.org's python 2?
- ngoldbaum 11y agoWhy would you want to do that? If you're using anaconda or miniconda, you should be using Continuum Analytics' builds of python, not python.org python.
- a3n 11y agoBecause I want to use Anaconda and its infrastructure, but skeptical people in my circle would want to see that whatever was built will run on the version of python that they would download (which would not be Anaconda). "Why would you want to ..." answers are generally pretty frustrating. It's a big universe with a very large possible set of individual circumstances. Can this be done?
- ngoldbaum 11y agoIf you're building conda packages then the only possible consumer is other users of miniconda or anaconda. I'm not sure "whatever was built" refers to in this case. Some kind of app? Of course you can use anaconda for normal library or application development, since there's functionally no difference between Continuum Analytics' python builds and the python.org python build.
- a3n 11y agoI want to run the following, using either of Anaconda or python.org python 2, on the same machine depending on the whim of the day: C:> python -c "print 'hello'" hello