Skip to content
Advertisement

Error dialects = eval(dialects.strip()) File “”, line 0 when try to create exe file in PyInstaller

Console error:

  File "C:UserssemnomeAppDataLocalProgramsPythonPython310libsite-packagesPyInstallerhookshook-sqlalchemy.py", line 31, in <module>
        dialects = eval(dialects.strip())
      File "<string>", line 0

when that happened I usually solved it with:

pip install sqlalchemy --upgrade 

but now it doesn’t work anymore, what do I do?

Advertisement

Answer

pip uninstall sqlalchemy > pip install sqlalchemy

that solved the problem

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement