How do I set up a virtual environment with Flask using conda?

I want to set up a virtual environment that I can use to develop web applications using a flash framework for Python (3.4.2, Mac OS). I have been given instructions on how to do this here using virtualenv. However, while trying to follow these instructions, I ran into a problem: I have Python installed via Anaconda and when trying:

sudo easy_install virtualenv

      

I am warned that I have to do this with a package already installed conda

. I can't imagine that the way to do something is much more complicated, but I also want to get bogged down in reading the documentation, because then I might not come back to it again ... So my question is, what's a quick way to set up a virtual environment using Flask using Conda? And how can I add more dependencies to this mix?

+3


source to share


1 answer


Your mileage may vary, but paperwork is usually found where the answers are.



conda create -n my_flask_env
source activate my_flask_env 
conda install condastuff
pip install otherstuff

      

+9


source







All Articles