yurijmikhalevich / rclip

AI-Powered Command-Line Photo Search Tool
MIT License
746 stars 57 forks source link

bug: "No module named 'pkg_resources.extern'" when installed with .msi #134

Closed Sobsz closed 3 months ago

Sobsz commented 3 months ago

Windows 10 21H2, rclip v1.10.2, installed for all users to E: drive.

Traceback (most recent call last):
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py", line 200, in <module>
  File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py", line 36, in _pyi_rthook
  File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
  File "pkg_resources\__init__.py", line 90, in <module>
ModuleNotFoundError: No module named 'pkg_resources.extern'
[12688] Failed to execute script 'pyi_rth_pkgres' due to unhandled exception!
yurijmikhalevich commented 3 months ago

@Sobsz, thank you for the report! Will check it out. Can you try checking if you see the bug with any of the previous versions in the meantime? Or try installing rclip with pip?

yurijmikhalevich commented 3 months ago

@Sobsz, I have released rclip v1.10.3 with the fix for the Windows build. Can you please confirm that the issue is fixed for you, too?

Sobsz commented 3 months ago

Works great, cheers!

yurijmikhalevich commented 3 months ago

@Sobsz, perfect 🔥 Thanks for confirming :)