wting / autojump

A cd command that learns - easily navigate directories from the command line
Other
16.3k stars 705 forks source link

Error when Python 2 is not installed. #680

Open Zerophase opened 1 year ago

Zerophase commented 1 year ago

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.

Spheerys commented 1 year ago

I also have this issue on ArchLinux since python2 was deprecated

shablipapu commented 1 year ago
  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

Spheerys commented 1 year ago

Thanks you, it works !