-
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
Cannot install on Ubuntu 24.04 LTS Noble Numbat #1457
Comments
systems: Ubuntu Budgie on a desktop, Ubuntu 24.04 on a laptop any command to do with thefuck or fuck triggers this
same issue as og post |
Clean install of Nobel does the same. I can't get PIP3 to install thefuck. Says the same error as the bottom half of the OP post. |
Install it with pip directly from this repo: As you can see is https://github.com/nvbn/thefuck/blob/master/thefuck/conf.py updated using importlib |
Would need to put it in virtualenv :/ |
I managed to install it by passing the |
I encountered the same issue when running the command:
I received the following traceback:
It seems like the module is not being found. Any insights on how to resolve this? |
I had the same error. I had installed on Ubuntu 22.04 with py3.10. When I upgraded to 24.04, python also got upgraded to 3.12 and that environment did not have thefuck installed.
…On Friday, 30 August 2024 at 12:52, José Antonio López Molina ***@***.***> wrote:
I encountered the same issue when running the command:
thefuck --version
I received the following traceback:
Traceback (most recent call last):
File "/home/tekylo/.local/bin/thefuck", line 5, in <module>
from thefuck.entrypoints.main import main
ModuleNotFoundError: No module named 'thefuck'
It seems like the module is not being found. Any insights on how to resolve this?
—
Reply to this email directly, [view it on GitHub](#1457 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/APPFX4AF5XE5YH34GDFWEADZUAMRTAVCNFSM6AAAAABMSVCN76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRQGMYTQNJYG4).
You are receiving this because you commented.Message ID: ***@***.***>
|
This method, but using |
I tried like this, no luck:
|
pip3 uninstall thefuck
pip3 install --user git+https://github.com/nvbn/thefuck --break-system-packages
Worked for me
…On Saturday, 31 August 2024 at 12:33, Mirek ***@***.***> wrote:
I tried like this, no luck:
$ pipx install thefuck --force --include-deps
Installing to existing venv 'thefuck'
|
worked for me too, here without the linkifier: pip3 install --user git+https://github.com/nvbn/thefuck --break-system-packages |
Should we really be using Thoughts? |
You're right. we need to be VERY careful using that option. In my opinion, it's fine in this case because:
Still, it's good to be clear about these reasons, so thanks for bringing it up. |
Uninstalling for now (my install via pipx was complaining about no distutils, and when I tried to install distutils in the virtuealenv it complained), but will return if it's fixed. :-) |
The output of
thefuck --version
(something likeThe Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release
):Cannot check
Your system (Debian 7, ArchLinux, Windows, etc.):
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
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):Anything else you think is relevant:
I updated from Ubuntu 22 to 24 and now
thefuck
doesn't work due to missingimp
inpython3.12.3
The text was updated successfully, but these errors were encountered: