Skip to content

Instantly share code, notes, and snippets.

@tikismoke
Created November 29, 2018 09:31
Show Gist options
  • Save tikismoke/86b7bc7541f60df54cd745a0a0e79885 to your computer and use it in GitHub Desktop.
Save tikismoke/86b7bc7541f60df54cd745a0a0e79885 to your computer and use it in GitHub Desktop.
[ SQLAlchemy version is : 1.0.15 ]
========= TRACEBACK =============
Traceback (most recent call last):
File "./install.py", line 635, in install
dbi = DbInstall()
File "/home/domogik/src/domogik/install/db_install.py", line 60, in __init__
self._db = database.DbHelper(use_cache=False, owner="DbInstall")
File "/home/domogik/src/domogik/common/database.py", line 188, in __init__
pool_recycle=pool_recycle, pool_size=20, max_overflow=10)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/__init__.py", line 386, in create_engine
return strategy.create(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 75, in create
dbapi = dialect_cls.dbapi(**dbapi_args)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/pymysql.py", line 49, in dbapi
return __import__('pymysql')
ImportError: No module named pymysql
=================================
ERROR:root:(<type 'exceptions.ImportError'>, ImportError('No module named pymysql',), <traceback object at 0x7fb70b01e8c0>)
==> (<type 'exceptions.ImportError'>, ImportError('No module named pymysql',), <traceback object at 0x7fb70b01e8c0>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment