Trying to format a database using SQLAlchemy but when I run create_all on the metadata, I get the above error. I created the engine using the following path for user Tyre77:
engine = create_engine('sqlite:////tyre77/OmniCloud/database.db')
I've walked through and there is a file 'database.db' at that path, but perhaps I typed it wrong?
You mention that it is a path to user tyre77 on OS X, so shouldn't that be sqlite:////Users/tyre77/OmniCloud/database.db
?
Also, three slashes for relative paths, four for absolute paths.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With