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
ImportError: No module named autojump_argparse #388
Comments
I had the same issue. Following the instructions for a manual install works perfectly so I would guess this is a problem with the macports package. |
See macports ticket #49212 |
it also happens when working with virtualenvs... I had to hook my zsh to disable autojump when in a virtualenv to avoid this message... |
I'm using virtualenvs on Manjaro KDE and this recently happens to me. Edit the first line of the file /usr/bin/autojump to point to the correct interpreter for which autojump_argparse is installed |
I'm using pyenv on Arch and unfortunately your solution didn't work for me. |
Can you tell me:
|
Hey @greatluke, I ended up removing the package. But I correctly remember that the file was under EDIT: I've just noticed that I made a typo for the directory name; it was |
Actually the easiest solution is to move 4 .py files: autojump_argparse, autojump_data, autojump_match, autojump_utils to the directory of the python version that you are using. |
FWIW, I'm running Manjaro Xfce and my autojump broke when I did a system update (which included getting Python 3.9). I solved it as so: Then I rebuilt/installed autojump from the AUR (git clone ... cd ... makepkg -si) (I got autojump from the AUR in the first place). Not sure if if mattered, but I also made the change "#!/usr/bin/python3" --> "#!/usr/bin/env python" in /usr/bin/autojump. Now it's working again. |
I just removed it and reinstalled it via AUR and it works for me. I didn't change anything else. |
I met a very weird situation about this. Below is a part of my init_script. apt install python &&\
mkdir -p $DIR/tmp &&\
git clone --depth 1 https://github.com/wting/autojump.git $DIR/tmp/ &&\
$DIR/tmp/install.py &&\
rm -rf $DIR/tmp I tried this with zsh & oh-my-zsh settings. but it fails:
However, I succeed when I executed
Would it be a key to solve this problem? |
For me |
|
In Ubuntu 22.04 I had to make a symbolic link
|
I have a manjaro and it happened after a system update. To solve it:
when ask to build select "All" and thats it. |
In case someone still has this issue,
|
After upgrading to El Capitan and following the instructions to upgrade my macports installation, autojump no longer works. I get the following error when trying to do anything:
The text was updated successfully, but these errors were encountered: