rocky / python-uncompyle6

A cross-version Python bytecode decompiler
GNU General Public License v3.0
3.79k stars 413 forks source link

Not working for python 3.9.12 #401

Closed biranchi2018 closed 2 years ago

biranchi2018 commented 2 years ago

I have installed uncompyle6-3.8.0 , In the README.rst it is mentioned in that it supports python ver 3.9, 3.10

I am getting the below errors:

$ uncompyle6 code_file.pyd

I don't know about Python version '3.9.12' yet. Python versions 3.9 and greater are not supported. I don't know about Python version '3.9.12' yet. Python versions 3.9 and greater are not supported. I don't know about Python version '3.9.12' yet. Python versions 3.9 and greater are not supported. I don't know about Python version '3.9.12' yet. Python versions 3.9 and greater are not supported. I don't know about Python version '3.9.12' yet. Python versions 3.9 and greater are not supported. I don't know about Python version '3.9.12' yet. Python versions 3.9 and greater are not supported. Traceback (most recent call last): File "/usr/local/bin/uncompyle6", line 5, in from uncompyle6.bin.uncompile import main_bin File "/usr/local/lib/python3.9/site-packages/uncompyle6/init.py", line 54, in from uncompyle6.main import decompile_file File "/usr/local/lib/python3.9/site-packages/uncompyle6/main.py", line 19, in from uncompyle6 import verify File "/usr/local/lib/python3.9/site-packages/uncompyle6/verify.py", line 24, in import xdis.std as dis File "/usr/local/lib/python3.9/site-packages/xdis/std.py", line 236, in _std_api = make_std_api() File "/usr/local/lib/python3.9/site-packages/xdis/std.py", line 233, in make_std_api return _StdApi(python_version, variant) File "/usr/local/lib/python3.9/site-packages/xdis/std.py", line 78, in init self.opc = opc = get_opcode_module(python_version, variant) File "/usr/local/lib/python3.9/site-packages/xdis/op_imports.py", line 180, in get_opcode_module return op_imports[canonic_python_version[vers_str]] KeyError: '3.9.12'