I just broke my environment because of django 1.3. None of my sites are able to run.
So, i decided to use virtualenv to set virtual environment with different python version as well as django.
But, seems like if i download the package and install using "sudo python setup.py install" this does not get added to my virtual environment, but my original environment.
I tried "easy_install django" in virtual environment virtualenv_name/bin folder, and it worked, but the problem is django1.3 was chosen automatically and got added.
I want to install django 1.2.5, is there a way that i can install easily to my virtual env?
It's probably better to use Pip instead of easy_install.
Then make sure you create you virtualenv with the --no-site-packages
-option.
For convenience you should consider using virtualenvwrapper in conjunction with virtualenv.
Check this introductory post to get an idea.
And finally make sure to specify the exact version you want to install. In your case try:
pip install django==1.2.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With