Skip to content Skip to sidebar Skip to footer

GAE Python - No Module Named MySQLdb

Recently I switched to 'vm: true' on my app.yaml. Since then I'm having some issues regarding the MySQLdb library. I'm trying to import MySQL like this: import MySQLdb My require

Solution 1:

You should use the following command to deploy:

gcloud preview app deploy

Take a look here for more details.

Also, here there is a official example of your use case. I can see a little difference, the author is using PyMySQL==0.7.3 instead of MySQL-python.


Post a Comment for "GAE Python - No Module Named MySQLdb"