Pegase745 / sqlalchemy-datatables

SQLAlchemy integration of jQuery DataTables >= 1.10.x (Pyramid and Flask examples)
MIT License
159 stars 67 forks source link

ImportError: cannot import name 'ColumnDT' #117

Closed patrickcuagan closed 5 years ago

patrickcuagan commented 5 years ago

I am getting the error ImportError: cannot import name 'ColumnDT' when deployed to Heroku. However, it runs normally in my local machine.

I figured the reason was that I also had the package datatables installed so I removed that one. Unfortunately, I am now getting the error in my local machine also. Am I supposed to have datatables also installed in the venv?

patrickcuagan commented 5 years ago

Actually, I re-installed the sqlalchemy-datatables on my venv and it's working locally now. However, I am still getting the problem ImportError: cannot import name 'ColumnDT' on Heroku.

patrickcuagan commented 5 years ago

Just an update: fixed it already by specifying my run time to match my local Python version. (3.6.6)