当我尝试运行脚本时:python unfrozen_binary_cx_冻结.py在
我收到以下错误:File "/path/to/file/unfrozen_binary-master/common.py", line 20, in
from decompilers.uncompyle2 import uncompyle_file
ImportError: No module named decompilers.uncompyle2
我查过了普通.py并导入uncompyle包,如下所示:
^{pr2}$
没有可用的反编译器包。在
但是,我已经安装了uncompyle2,所以我编辑了上面的代码以使用uncompyle2,因为我使用的是python2.7版本
现在,我收到了uncompyle2的ImportError,尽管我已经安装了uncompyle2和uncompyle6。甚至用pip show命令证实了这一点。在>>> import uncompyle2
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named uncompyle2
>>> import uncompyle6
>>>
但是,pip show命令显示uncompyle2已安装:$ pip show uncompyle2
Name: uncompyle2
Version: 2.0.0
Summary: Python byte-code to source-code converter
Home-page: https://github.com/rocky/python-uncompyle6
Author: Hartmut Goebel
Author-email: h.goebel@crazy-compilers.com
License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires: uncompyle6
有人能让上面的github项目正常工作吗?在
请告诉我。在
谢谢。在