Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file` #3

Open
Koloz opened this issue Jan 22, 2023 · 1 comment

Comments

@Koloz
Copy link

Koloz commented Jan 22, 2023

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file

File "/Users/a/opt/miniconda3/envs/pythonProject/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 686, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/Users/a/opt/miniconda3/envs/pythonProject/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 578, in connect
return dialect.connect(*cargs, **cparams)
File "/Users/a/opt/miniconda3/envs/pythonProject/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 598, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/14/e3q8)`

@farfun
Copy link
Member

farfun commented Oct 18, 2023

pip install sqlalchemy>=2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants