MySQLdb issue

MySQLdb issue

Postby mjenn200 » Mon Aug 12, 2013 1:21 pm

I have a python script (I did not write it), but there are two ways this script can be launched:

1. command line
2. from pressing a button on a custom web app

If I run from the command line, all fine.

If I launch the script from the app, I can see from the logs that python code is executing, but this time it cannot find the module 'MySQLdb'.

Why can this module be found when running from the command line, but not the webapp?

All help really appriciated!
Posts: 1
Joined: Mon Aug 12, 2013 1:17 pm

Re: MySQLdb issue

Postby micseydel » Mon Aug 12, 2013 4:28 pm

Answering this question correctly would require looking at your logs, configuration and/or code.
Join the #python-forum IRC channel on!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
Posts: 1992
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to Web Development

Who is online

Users browsing this forum: No registered users and 2 guests