Python2.5 and Django on Etch

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
maboroshi
Dr. Mab
Dr. Mab
Posts: 1624
Joined: 28 Aug 2005, 16:00
18

Python2.5 and Django on Etch

Post by maboroshi »

Ok going to go over some stuff that helped me get Django installed on etch. With MySQL

First up you need to install Python2.5

Code: Select all

apt-get install python2.5
Create a symbolic link to Python2.5

Code: Select all

ln -sf /usr/bin/python2.5 /usr/bin/python
This will help

Code: Select all

sudo aptitude search libmysqlclient15-dev
Now install Python dev

Code: Select all

apt-get install python2.5-dev
Now do an updatedb and a locate for "easy" with out the quotes

this will output the location of easy_install on your debian system. Mine was named easy_install-2.5

Now run this file installing your libraries mysql-python and django

I may have left some stuff out like setting up apache I just wanted to point some key things that helped me

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Python2.5 and Django on Etch

Post by bad_brain »

maboroshi wrote: Now do an updatedb and a locate for "easy" with out the quotes
just wanted to add that updatedb/locate might not be available by default (it isn't on Lenny, don't remember anymore for Etch), in this case:

Code: Select all

apt-get install mlocate
:wink:
Image

Post Reply