1

I'm trying to push a Flask application into Heroku. But if i start the application, it crashes giving the following error:

2012-06-13T18:30:36+00:00 app[web.1]:   File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
2012-06-13T18:30:36+00:00 app[web.1]: ImportError: No module named _sqlite3
2012-06-13T18:30:36+00:00 app[web.1]:     from _sqlite3 import *

Any ideas?

1 Answer 1

1

I am not sure Heroku supports SQLite. I would use PostgreSQL for production websites.

You can follow the Django tutorial here to figure out how to setup PostgreSQL.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.