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

deprecated imp module is removed in python3.12 #871

Open
elig0n opened this issue Sep 2, 2024 · 1 comment
Open

deprecated imp module is removed in python3.12 #871

elig0n opened this issue Sep 2, 2024 · 1 comment

Comments

@elig0n
Copy link
Contributor

elig0n commented Sep 2, 2024

ModuleNotFoundError: No module named 'imp'

https://docs.python.org/3.11/library/imp.html states

Deprecated since version 3.4, will be removed in version 3.12: The [imp](https://docs.python.org/3.11/library/imp.html#module-imp) module is deprecated in favor of [importlib](https://docs.python.org/3.11/library/importlib.html#module-importlib).
@jajm
Copy link

jajm commented Sep 3, 2024

Try to reinstall i3pystatus using git:

pip install --force-reinstall git+https://github.com/enkore/i3pystatus.git

It worked for me.

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