-
Notifications
You must be signed in to change notification settings - Fork 706
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 after python update #642
Comments
I started to see the issue after updating to Python3.10 so it seems that autojump is not compatible with this new release. |
Yep, it must have been the new python version, since autojump stopped working for me (get same errors as OP) right after I pulled most recent python packages from Arch Linux repos. |
This is probably a distribution packaging problem and not related to Python 3.10 or autojump. Specifically, |
The distro is definitely wrong, I have python 3.9.9 on my Manjaro, and the PKGBUILD file somehow put the package into python 3.10 I fixed it by
on my machine. It works now. |
Hi! Based on your comments, I've just reinstalled autojump The issue seems the way things are packaged, since the module sits in a directory specific to a python minor version. And once that changes with a new python version, things simply break. Oh, I see the package maintainer says the same - https://aur.archlinux.org/packages/autojump/#comment-840633 I would advise against just copying files as they will not be managed by the package manager and may be built by another python version than later used. yay -Ql autojump
yay -S autojump
|
it's not more 3.9 -> 3.10 ? |
At that time, python 3.10 wasn't avaliable on pacman. It was a temporary fix. |
a temporary fix for python3.11 |
Got the same error on my Manjaro 6.1.29-1 machine with Python 3.10.10 when installing Actually, it is a typical
As you can see, the But the
is set to That's why the error occurs |
After a system upgrade which updated python, I am encountering a ModuleNotFoundError:
Traceback (most recent call last):
File "/usr/bin/autojump", line 39, in <module>
from autojump_argparse import ArgumentParser
ModuleNotFoundError: No module named 'autojump_argparse'
Distro: Arch Linux
Kernel: 5.15.7-arch1-1
Python version: Python 3.10.1
The text was updated successfully, but these errors were encountered: