You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the installation procedures provided here (Raspberry Pi OS) we throw an error at
cubestl -h
ERROR LAST LINE OF TRACEBACK File "/home/<user>/cubetl/cubetl/sql/sql.py", line 33, in <module>
from sqlalchemy.types import Integer, String, Float, Boolean, Unicode, Date, Time, DateTime, Binary ImportError: cannot import name 'Binary' from 'sqlalchemy.types' (/home/<user>/cubetl/env/lib/python3.7/site-packages/sqlalchemy/types.py)
FIX
Edit cubetl/sql/sql.py and alter import names to match case in sqlalchemy types.py
fromsqlalchemy.typesimportInteger, String, Float, Boolean, Unicode, Date, Time, DateTime, Binary
to
fromsqlalchemy.typesimportINTEGER, String, FLOAT, BOOLEAN, Unicode, DATE, Time, DATETIME, BINARY
I hope this fix helps anyone else who encounters the error and lets them get to using this brilliant tool.
Phil
The text was updated successfully, but these errors were encountered:
Reporting Error and Fix
When following the installation procedures provided here (Raspberry Pi OS) we throw an error at
cubestl -h
ERROR LAST LINE OF TRACEBACK
File "/home/<user>/cubetl/cubetl/sql/sql.py", line 33, in <module>
from sqlalchemy.types import Integer, String, Float, Boolean, Unicode, Date, Time, DateTime, Binary ImportError: cannot import name 'Binary' from 'sqlalchemy.types' (/home/<user>/cubetl/env/lib/python3.7/site-packages/sqlalchemy/types.py)
FIX
Edit cubetl/sql/sql.py and alter import names to match case in sqlalchemy types.py
to
I hope this fix helps anyone else who encounters the error and lets them get to using this brilliant tool.
Phil
The text was updated successfully, but these errors were encountered: