[Answer]-Trying to get MySQL-python working for django using apache/FastCGI with no root access

1👍

Ok, I solved my problem by cheating. I downloaded a rpm for my version of Suse, got out the files using this command:

rpm2cpio python-mysql-1.2.2-1.79.x86_64.rpm | cpio -idmv

Then, I copied all the files to my virtualenv directory:

cp -pir ./usr/lib64/python2.6/site-packages/* ../virt/lib/python2.6/site-packages/

And, it worked!

👤brfox

Leave a comment