This may sound like a stupid question, since the very purpose of virtualenv
is to this exactly: Installing some specific version of a package (in this case Django) inside the virtual environment. But it's exactly what I want to do, and I can't figure it out.
I'm on Windows XP, and I created the virtual environment successfully, and I'm able to run it, but how am I supposed to install the Django version I want into it? I mean, I know to use the newly-created easy_install
script, but how do I make it install Django 1.0.7? If I do easy_install django
, it will install the latest version. I tried putting the version number 1.0.7
into this command in various ways, but nothing worked.
How do I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…