-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
ModuleNotFoundError: No module named 'imp' when running 'fuck' #1434
Comments
Got the same issue :( |
+1 Running python 3.10 |
Same here, running Python 3.12 |
The imp module has been removed in Python3.12 in favor of importlib. |
Works in python 3.11.8! |
It's not working on the Python v3.12.2. :( |
I'm quite sure they won't return that deprecated and removed library if there's another one we can use. Too bad the maintainer/s are not doing anything about it; there's an open pull request for this, too |
Same here on Ubuntu 24.04 LTS. Python 3.12 is the default version installed by APT. (thefuck is also installed by |
This issue is still present Ubuntu 24.04, Python 312 |
@tes-balo I think this is already fixed in this repository but there was no release. You can try pip uninstall thefuck
pip install https://github.com/nvbn/thefuck/archive/master.zip See also #1415 (comment) and #1415 (comment) |
Yes! This works for me! |
Hi Everyone, Happy coding! |
I just wanted to add that this worked for me, too! Thanks for finding us the solution, @tes-balo ! :) |
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:
The text was updated successfully, but these errors were encountered: