-
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
Having a hard time getting set up on Ubuntu 24.04 #1449
Comments
It seems thefuck can`t work on python 3.12. The last release was build in 2022. May need someone update it. |
The apt package doesn't work https://snapcraft.io/install/thefuck/ubuntu#install It's not the most recent version but it's still useful |
quick fix for pip installed version at least: open
with;
and lines;
with;
then open
with;
and line;
with;
This worked for me on Fedora 40 using fish shell in tilix terminal emulator, can't say for any other combination. |
The workaround proposed by @Darkextratoasty worked on my machine: DISTRIB_ID=Ubuntu |
It is just sad when a great OSS is left abandoned. Maybe it is time for someone to create a fork with proper updates (there are more than 80 PRs in this repo!!). |
Found in a #1434
|
If you're not a Python dev who already has a virtualenv setup, you'll need to add one as per these instructions:
and make sure ~/.local/bin is in $PATH. Really wish Python stuff was easier to use without all these gymnastics 😁 |
If you're doing it in dev for testing, then you could always use the pip argument of --break-system-packages but it's not recommended for production environments. I have absolutely NOT done that on my live systems without any problems so-far! 😝 |
@Darkextratoasty A |
I also met this problem under my |
I found this topic on Stack Overflow: it seems should be |
As mentioned ^^^: |
please can you make a pull request with this fix? |
No, because this is a hacky work-around and it's not clear if it has other, unwanted effects. If someone with more knowledge than myself and a decent set of unit tests can verify that it's a clean fix, then a pull request could be added. Also I know basically nothing of git, so I don't even know how to go about doing a pull request. |
@nvbn Коллега, пожалуйста, если есть возможность, исправьте установку под Убунту 22.04. |
The proposed workaround somewhat works on:
but when invoking
|
@unikitty37 there is pipx. I applied the changes made in 0420442 and https://github.com/nvbn/thefuck/pull/1404/files to the pipx installed version, located in |
This worked perfectly for me on Ubuntu 24.04 with zsh. Thanks a bunch! |
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:
install on Ubuntu 24.04 and try to run
thefuck --version
The output of The Fuck with
THEFUCK_DEBUG=true
exported (typically executeexport THEFUCK_DEBUG=true
in your shell before The Fuck):The text was updated successfully, but these errors were encountered: