wting / autojump

A cd command that learns - easily navigate directories from the command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. just edit the install file and change first line to python3

  2. install it. then you will get another similar error

  3. run which autojump in the terminal to find the path.

  4. edit the result from 3 and change first line from python to python3

Thanks you, it works !