ピラミッドで sqlalchemy プロジェクトを作成しようとしましたが、サーバーを実行すると、次のエラーが発生します。
Pyramid is having a problem using your SQL database. The problem
might be caused by one of the following things:
1. You may need to run the "initialize_MyProject_db" script
to initialize your database tables. Check your virtual
environment's "bin" directory for this script and try to run it.
2. Your database server may not be running. Check that the
database server referred to by the "sqlalchemy.url" setting in
your "development.ini" file is running.
After you fix the problem, please restart the Pyramid application to
try it again.
development.ini ファイルを確認すると、sqlite データベースは次のように構成されています。
sqlalchemy.url = sqlite:///%(here)s/MyProject.sqlite
正しく構成するには、ここで何を変更する必要がありますか?
Linuxボックスで実行します。