Я установил пакет uncompyle6 из github.
https://github.com/rocky/python-uncompyle6
Когда я пытаюсь декомпилировать файл .py c в файл .py -
uncompyle6 urls.pyc
Я получаю следующее сообщение об ошибке.
Traceback (most recent call last): File "/usr/local/bin/uncompyle6",
line 6, in <module>
from pkg_resources import load_entry_point File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3088,
in <module>
@_call_aside File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3072,
in _call_aside
f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3101,
in _initialize_master_working_set
working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 574,
in _build_master
ws.require(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 892,
in require
needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 778,
in resolve
raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'uncompyle6==3.6.1'
distribution was not found and is required by the application
Я ищу это сообщение об ошибке, но до сих пор не повезло.