after upgrading to Fedora 39, thefuck is not working anymore. After opening the terminal this error message is shown:
Traceback (most recent call last):
File "/usr/local/bin/thefuck", line 5, in
from thefuck.entrypoints.main import main
File "/usr/lib/python3.12/site-packages/thefuck/entrypoints/main.py", line 8, in
from .. import logs # noqa: E402
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/thefuck/logs.py", line 8, in
from .conf import settings
File "/usr/lib/python3.12/site-packages/thefuck/conf.py", line 1, in
from imp import load_source
ModuleNotFoundError: No module named 'imp'
The output of thefuck --version (something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release):
N/A
Your system (Debian 7, ArchLinux, Windows, etc.):
Fedora 39, Python 3.12.0
How to reproduce the bug:
Open the terminal or try to run the 'fuck' command
The output of The Fuck with THEFUCK_DEBUG=true exported (typically execute export THEFUCK_DEBUG=true in your shell before The Fuck):
N/A
If the bug only appears with a specific application, the output of that application and its version:
Hi there,
after upgrading to Fedora 39, thefuck is not working anymore. After opening the terminal this error message is shown:
Traceback (most recent call last): File "/usr/local/bin/thefuck", line 5, in
from thefuck.entrypoints.main import main
File "/usr/lib/python3.12/site-packages/thefuck/entrypoints/main.py", line 8, in
from .. import logs # noqa: E402
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/thefuck/logs.py", line 8, in
from .conf import settings
File "/usr/lib/python3.12/site-packages/thefuck/conf.py", line 1, in
from imp import load_source
ModuleNotFoundError: No module named 'imp'
The output of
thefuck --version
(something likeThe Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release
):Your system (Debian 7, ArchLinux, Windows, etc.):
How to reproduce the bug:
The output of The Fuck with
THEFUCK_DEBUG=true
exported (typically executeexport THEFUCK_DEBUG=true
in your shell before The Fuck):If the bug only appears with a specific application, the output of that application and its version:
Anything else you think is relevant: