enkore / i3pystatus

A complete replacement for i3status
https://i3pystatus.readthedocs.io/
MIT License
445 stars 188 forks source link

deprecated imp module is removed in python3.12 #871

Open elig0n opened 3 months ago

elig0n commented 3 months ago
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 commented 3 months ago

Try to reinstall i3pystatus using git:

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

It worked for me.