Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] The new version 70.0.0 creates the following exception when I execute my tool:Traceback (most recent call last): File "PyInstaller/hooks/rthooks/pyi_rth_pkgres.py", line 158, in <module> File "PyInstaller/hooks/rthooks/pyi_rth_pkgres.py", line 36, in _pyi_rthook File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module File "pkg_resources/__init__.py", line 77, in <module> ModuleNotFoundError: No module named 'pkg_resources.extern' [14522] Failed to execute script 'pyi_rth_pkgres' due to unhandled exception! I switch back to 69.5.1 for now. #4407

Closed
kleve-ops opened this issue May 30, 2024 · 1 comment
Labels
bug Needs Triage Issues that need to be evaluated for severity and status.

Comments

@kleve-ops
Copy link

setuptools version

70.0.0

Python version

3.11.1

OS

sles12

Additional environment information

No response

Description

The new version 70.0.0 creates the following exception when I execute my tool:Traceback (most recent call last): File "PyInstaller/hooks/rthooks/pyi_rth_pkgres.py", line 158, in File "PyInstaller/hooks/rthooks/pyi_rth_pkgres.py", line 36, in _pyi_rthook File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module File "pkg_resources/init.py", line 77, in ModuleNotFoundError: No module named 'pkg_resources.extern' [14522] Failed to execute script 'pyi_rth_pkgres' due to unhandled exception! I switch back to 69.5.1 for now.

Expected behavior

Normal app start

How to Reproduce

Run a single file app with was build via 70.0.0

Output

Traceback (most recent call last):
  File "PyInstaller/hooks/rthooks/pyi_rth_pkgres.py", line 158, in <module>
  File "PyInstaller/hooks/rthooks/pyi_rth_pkgres.py", line 36, in _pyi_rthook
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "pkg_resources/__init__.py", line 77, in <module>
ModuleNotFoundError: No module named 'pkg_resources.extern'
[14522] Failed to execute script 'pyi_rth_pkgres' due to unhandled exception!
@kleve-ops kleve-ops added bug Needs Triage Issues that need to be evaluated for severity and status. labels May 30, 2024
@abravalheri
Copy link
Contributor

Hi @kleve-ops, this seems to be a duplicate of #4374.

Please have a look at that thread to understand the root cause of the problem and the available solutions.

@abravalheri abravalheri closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Needs Triage Issues that need to be evaluated for severity and status.
Projects
None yet
Development

No branches or pull requests

2 participants