Error when Python 2 is not installed.
Zerophase opened this issue · comments
Traceback (most recent call last):
File "/usr/sbin/autojump", line 39, in
from autojump_argparse import ArgumentParser
ModuleNotFoundError: No module named 'autojump_argparse'
Traceback (most recent call last):
File "/usr/sbin/autojump", line 39, in
from autojump_argparse import ArgumentParser
ModuleNotFoundError: No module named 'autojump_argparse'
This error throws when only Python 3 is installed on the machine.
I also have this issue on ArchLinux since python2 was deprecated
-
just edit the install file and change first line to python3
-
install it. then you will get another similar error
-
run
which autojump
in the terminal to find the path. -
edit the result from 3 and change first line from python to python3
Thanks you, it works !