Skip to content

PyInstaller Compability

Erkan Durmus edited this page Sep 2, 2016 · 1 revision

PyInstaller Compability

Pyinstaller cannot find package from python's SetupTool's entry_points. Please check You see this error when you run your freezed application:sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:cockroachdb

Solution is to register manually in your project code:

from sqlalchemy.dialects import registry
registry.register("cockroachdb", "cockroachdb.sqlalchemy.dialect", "CockroachDBDialect")
Clone this wiki locally