ImportError with cx_Freeze and pyinstaller

前端 未结 4 1353
轮回少年
轮回少年 2021-01-03 02:24

I was using pyinstaller before to try and get my app with twisted as an executable, but I got this error when executing:

Traceback (most recent call last):
          


        
4条回答
  •  滥情空心
    2021-01-03 03:05

    I had the same issue with cx_freeze. None of the above solutions seemed to work in my case. For me this solution from here worked :

    You need to actually create zope/__init__.py as an empty file so that the normal processing performed by imp.find_module() actually works

提交回复
热议问题