Hostmonster : Installing MySQLdb at a specific location
tim at johnsons-web.com
Tue Aug 2 01:05:33 CEST 2011
* Tim Johnson <tim at johnsons-web.com> [110731 11:47]:
> I don't want to discourage any further input, but I'm looking at
> regarding installing django and I think the instructions can be
> extrapolated for MySQLdb. I will report what happens...
I received a link for the Hostmonster helpdesk to
My experience was that I had to modify some of the paths from
When I ran the
python setup.py install
routine, python complained that it could not find `lib64'
thusly, I created $HOME/.local/lib/python2.4/site-packages
Furthermore, seems that setup.py did not copy all files
from the installation directory. The result was a UserWarning
regarding multiple imports of the _mysql module when I invoked
I solved that by adding the installation directory to my
A relevant excerpt from .bashrc looks like this:
# line one
# line two
# line three
# line four
Where $HOME/admin/.install/MySQL-python-1.2.3 is the package
I have been spoiled by ubuntu. Furthemore, it has been a long time
since I did a package install where I don't have root privileges.
Results may vary, I hope this is helpful to someone else.
tim at johnsons-web dot com or akwebsoft dot com
More information about the Python-list