Home >Database >Mysql Tutorial >Why Can't I Install MySQLdb on Google App Engine, and How Can I Fix the 'mysql_config Not Found' Error?
Problem:
During the installation of Django on a Google App Engine project, the server fails to start due to an error:
ImproperlyConfigured("Error loading MySQLdb module: %s" % e) ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb
Attempts to install the required module MySQL-python using pip yield the error:
raise EnvironmentError("%s not found" % (mysql_config.path,)) EnvironmentError: mysql_config not found
Solution:
Step 1:
Ensure that the following steps have been completed:
Step 2: If the issue persists, try the following steps:
Method 1:
Method 2:
Method 3:
Method 4:
Note:
The above is the detailed content of Why Can't I Install MySQLdb on Google App Engine, and How Can I Fix the 'mysql_config Not Found' Error?. For more information, please follow other related articles on the PHP Chinese website!