0

im having an issue while trying to run autopytoexe lib. when searching for answers, i found this answer No module named pkg_resources and it was very helpful.

but im using poetry, and just run a poetry update setuptools didnt work well for me.

i tried to use pip install --upgrade setuptools in other project that i was having the same problem, it worked.

the error:


Traceback (most recent call last):
  File "C:\...\.venv\lib\site-packages\eel\__init__.py", line 16, in <module> import pkg_resources as pkg
ModuleNotFoundError: No module named 'pkg_resources'

updating autopytoexe to grant that the problem isnt it:

PS C:\...> poetry update auto-py-to-exe
Updating dependencies
Resolving dependencies...

Writing lock file

Package operations: 0 installs, 1 update, 0 removals

  • Updating auto-py-to-exe (2.23.1 -> 2.29.0)

anyone has any idea why poetry cant help in this case? or dont work in this case..

yes im have to use windows at work pls dont judge

pdrferrari
  • 65
  • 6

0 Answers0