I have already used pip and virtualenv (and actually sometimes prefer a well-organized combination through the SVN repository, judicious use of svn: externals and dynamic sys.path).
But this time, for a new server installation, I would like to do everything right.
So, I go to the pip installation page and it says:
The recommended way to use pip is within virtualenv, since every virtualenv has pip installed automatically in it. This does not require root access or modifying your Python system. [...]
Then I go to the virtualenv page and offer:
You can install virtualenv using pip install virtualenv or the latest development using pip install virtualenv == dev. You can also use easy_install [...]
And the pip should replace easy_install, of course :)
Of course, they both explain all the alternative installation methods.
But ... what do you have to go first? And should I approve the system pip or not ?
I see the main reason to ponder, but there may be others.
- Do I want to make life easier for all window users, or is it a server designed for a single user performing some services?
If I want everyone to have virtual env, I could just install the system package (for example, using ubuntu do sudo aptitude install python-pip , then use it to install virtualenv sudo pip install virtualenv ).
change another reason: virtualenvwrapper install instructions (but not docs ):
Note. To use virtualenvwrapper, you must install virtualenv separately.
not quite sure what it means "separately" (I never noticed).
Otherwise, which one should go first, and does it really matter or not?
Connected:
The next question (and answers) is the first of the following (in particular, see @elarson's answer), the second looks overly complex:
but I feel that it’s not possible to answer my question in full: on the whole system compared to local ones, but also need pip or virtualenv to go first (and why they send each of them to another to start with !! !)