where might I find the PYTHONPATH variable? On Aug 11, 6:39 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 8/11/07, Kelsey Ruger <[EMAIL PROTECTED]> 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 > location that's not on your Python import path; you can fix this by > changing the environment variable PYTHONPATH to include the directory > into whichMySQLdbwas installed (not the location ofMySQLdbitself, > 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."
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---