serfend / pydumpck

a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and uncompyle6.
https://pypi.org/project/pydumpck/
289 stars 34 forks source link

ImportError: cannot import name 'get_archive' from 'PyInstaller.utils.cliutils.archive_viewer' #52

Open jakkapong1129 opened 8 months ago

jakkapong1129 commented 8 months ago

image

serfend commented 7 months ago

try run

pip install pydumpck --upgrade
TheRealPotatoe commented 6 months ago

still getting the same after running that command image

serfend commented 6 months ago

the latest version of pydumpck is rewrite archive_view itself. from your screenshot , i guess that your pydumpck maybe outdated

Divertisment commented 5 months ago

pip install pydumpck --upgrade --Done but still....

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:\Python312\Scripts\pydumpck.exe\__main__.py", line 4, in <module>
  File "C:\Python312\Lib\site-packages\pydumpck\__init__.py", line 22, in <module>
    from pydumpck.pyinstaller_dump import run
  File "C:\Python312\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 4, in <module>
    from pydumpck.py_common_dump import CommonDump
  File "C:\Python312\Lib\site-packages\pydumpck\py_common_dump\__init__.py", line 7, in <module>
    from ..py_package import PackageStruct, PackageDescription
  File "C:\Python312\Lib\site-packages\pydumpck\py_package\__init__.py", line 1, in <module>
    from .package_description import PackageDescription
  File "C:\Python312\Lib\site-packages\pydumpck\py_package\package_description\__init__.py", line 6, in <module>
    from PyInstaller.utils.cliutils.archive_viewer import get_archive, get_data, get_content, get_archive_content
ImportError: cannot import name 'get_archive' from 'PyInstaller.utils.cliutils.archive_viewer' (C:\Python312\Lib\site-packages\PyInstaller\utils\cliutils\archive_viewer.py)