Skip to content

ModuleNotFoundError: No module named 'pkg_resources' #684

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

Closed
hruhland-mtm opened this issue Nov 8, 2024 · 1 comment
Closed

ModuleNotFoundError: No module named 'pkg_resources' #684

hruhland-mtm opened this issue Nov 8, 2024 · 1 comment

Comments

@hruhland-mtm
Copy link

Doorstop v2.2.1 is not compatible with python versions later than 3.12 (default on ubuntu 24.04 LTS) due to depreciation of pkg_resources as mentioned by this issue: mu-editor/mu#2485

This appears to have already been fixed in the dev branch earlier this year: 7ab309c

I resolved my issue by downgrading python to an earlier version.

@MarkoSchuetz
Copy link

I just ran into this, since I'm not very familiar with Python and tooling, I'll share what I did to help those in a similar position. I installed pyenv. Then ran

pyenv install 3.12.8

which created a local installation of Python in ~/.pyenv. With

pyenv shell 3.12.8

I set Python for this shell to the earlier version. I still had to include the--python python3.12 switch on the pipx command-line:

pipx reinstall --python python3.12 doorstop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants