[Answered ]-Pip Upgrade Installs Wrong Django Version: What to do?

2πŸ‘

βœ…

I would strongly recommend using virtualenv. It allows you to control the environment of each individual django app on your machine. You create a virtual environment, install the packages you want, then start up the environment before you start your app.

It can be as simple as listing your apps in a requirements file, then installing the requirements file in your virtualenv –

psycopg2==2.4.2
Django==1.4.3
Markdown==2.0
http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.0.7a.tar.gz
Pygments==1.3.1
Twisted==10.0.0

There’s a great tutorial here.

πŸ‘€Aidan Ewen

Leave a comment