QiunanRima 发表于 2022-12-17 19:15

pyc反编译报错

如题
log:

Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Scripts\uncompyle6.exe\__main__.py", line 4, in <module>
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\uncompyle6\__init__.py", line 53, in <module>
    import uncompyle6.semantics.pysource
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\uncompyle6\semantics\pysource.py", line 141, in <module>
    from uncompyle6.parsers.treenode import SyntaxTree
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\uncompyle6\parsers\treenode.py", line 3, in <module>
    from uncompyle6.scanners.tok import NoneToken
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\uncompyle6\scanners\tok.py", line 200, in <module>
    NoneToken = Token("LOAD_CONST", offset=-1, attr=None, pattr=None)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\uncompyle6\scanners\tok.py", line 86, in __init__
    from xdis.std import _std_api
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\xdis\std.py", line 220, in <module>
    _std_api = make_std_api()
               ^^^^^^^^^^^^^^
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\xdis\std.py", line 218, in make_std_api
    return _StdApi(python_version, variant)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\xdis\std.py", line 73, in __init__
    self.opc = opc = get_opcode_module(python_version, variant)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\0736site\AppData\Local\Programs\Python\Python311\Lib\site-packages\xdis\op_imports.py", line 174, in get_opcode_module
    return op_imports]
                      ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: '3.11.1'



源文件 https://wwqv.lanzout.com/iqA550iwwb9i

QiunanRima 发表于 2022-12-29 21:39

没人吗???

无知灰灰 发表于 2023-2-2 10:50

python版本太高了,看官方只支持到3.9.0
页: [1]
查看完整版本: pyc反编译报错