thefuck
thefuck copied to clipboard
No module named 'thefuck'
When I install using the following commands, the terminal say:
File "/home/test/.local/bin/fuck", line 7, in
I don't know how to do at next, so I create the issue.
OS:elementary os 0.4 using bash
I have a very similar issue:
Traceback (most recent call last):
File "/usr/local/bin/thefuck", line 7, in <module>
from thefuck.main import main
ImportError: No module named 'thefuck'
Looks like we're all having this issue.
Try to install thefuck globally:
pip install thefuck
So. For people having this issue. For me the fix was that I had setup another python version as default using update-alternatives
. Make sure you use the correct python version.
So. For people having this issue. For me the fix was that I had setup another python version as default using
update-alternatives
. Make sure you use the correct python version.
Exactly, I did the same thing then this error occurred.
What is the latest python version supported by thefuck then? In the requirements it says 3.5+ and I have 3.12.0b4.