Install a package in your Virtualenv

suggest change

If you look at the bin directory in your virtualenv, you’ll see easy_install which has been modified to put eggs and packages in the virtualenv’s site-packages directory. A current virtualenv includes pip; easy_install is no longer part of a default environment. To install an app in your virtual environment:

$ source test_project/bin/activate
$ pip install flask

At this time, you don’t have to use sudo since the files will all be installed in the local virtualenv site-packages directory. This was created as your own user account. The directory in the source command is test_project, which does not match test_proj on the Usage page. Flask was not installed here.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents