https://dagster.io/ logo
#ask-community
Title
# ask-community
j

Jesse Myers

01/27/2023, 4:02 AM
👋 Hello everyone! I'm having trouble starting Dagster locally with this command
dagster dev
after following the getting started example online. I get the following error:
Copy code
File "/usr/local/lib/python3.7/site-packages/dagster/_core/storage/runs/sqlite/sqlite_run_storage.py", line 84, in from_local
    engine.execute("PRAGMA journal_mode=WAL;")
AttributeError: 'Engine' object has no attribute 'execute'
s

Shalabh Chaturvedi

01/27/2023, 4:15 AM
Hi Jesse - this is likely because of the new major version of sqlalchemy (2.0) released today which is backwards incompatible. Can you try running
pip install sqlalchemy==1.4.46
in your environment to pin to the earlier version?
👏 1
j

Jesse Myers

01/27/2023, 4:17 AM
Omg you are a savior 🙏 This worked like a charm. I've spent the last 4-5h banging my head on this
s

Shalabh Chaturvedi

01/27/2023, 4:24 AM
Happy to help and sorry about the breakage. We will pin sqlalchemy in the next release.
j

Jesse Myers

01/27/2023, 4:30 AM
Awesome, thanks for the help!