On Jul 6, 3:42 pm, "Bryan L. Fordham" <bford...@socialistsushi.com>
wrote:
Open up a Python interpreter, and try:
import MySQLdb
If you see an ImportError, MySQLdb may have been installed into a
location that's not on your Python import path; you can fix this by
changing the environment variable PYTHONPATH to include the directory
into which MySQLdb was installed (not the location of MySQLdb itself,
but the directory in which it can be found), like so:
export PYTHONPATH=/dir/where/mysqldb/lives:$PYTHONPATH
Placing that in the file '.bashrc' in your home directory will cause
it to be set automatically for you any time you open up a shell.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
On Aug 11, 6:39 pm, "James Bennett" <ubernost...@gmail.com> wrote:
> On 8/11/07, Kelsey Ruger <kel...@themoleskin.com> wrote:
>
> > I have the same problem even though I have installedMySQLdb.
>
> Open up a Python interpreter, and try:
>
> importMySQLdb
>
> If you see an ImportError,MySQLdbmay have been installed into a