#🔒 no module named pkg_resources
13 messages · Page 1 of 1 (latest)
@astral gull
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
pkg_resources was part of setuptools until 81.0. It got deprecated in 82.0 so if you downversion it you should have it available
you can do pip install to get it back to 81
pip install setuptools==81.0
To fix it, you must manually downgrade or pin setuptools to a version below 82.0.
If you want just connect me I can provide you full steps.
Or maybe people should check the library first instead of suggesting a "fix" that is not a real fix?
!pypi lang2vec the library was last updated in 2019. Before python2 even went out of life.
Meaning OP probably shouldn't use it - it's better to find some maintained fork
And only try to find setuptools version if there's no alternative
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.