AttributeError: module 'dis' has no attribute '_unpack_opargs' While Building Python 3.6 executable using CX_FREEZE

放肆的年华 提交于 2019-12-04 16:17:58

1. Open File C:\Users\UserName\AppData\Local\Programs\Python\Python35-32\lib\site-packages\cx_Freeze\finder.py:

2. Change (at line 544) this:

   method = dis._unpack_opargs if sys.version_info[:2] >= (3, 5) \
   else self._UnpackOpArgs

to:

   method = self._UnpackOpArgs

3. Save the file and try to build again ;)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!