Autojump: ‘python’: No such file or directory

Created on 26 May 2019  ·  2Comments  ·  Source: wting/autojump

Hi,
I have installed it and added to ~/.zshrc

[[ -s /home/aborruso/.autojump/etc/profile.d/autojump.sh ]] && source /home/aborruso/.autojump/etc/profile.d/autojump.sh
autoload -U compinit && compinit -u

But not, using my shell I have always: "/usr/bin/env: ‘python’: No such file or directory"

I have python3

Most helpful comment

Hi, man, i just fix it.
Because WSL installed python3 while autojump use python in ~/.autojump/autojump
so, you can do this :
install python or sed -i "s/\#\!\/usr\/bin\/env\ python/\#\!\/usr\/bin\/env\ python3/" ~/.autojump/bin/autojump

All 2 comments

Hi, man, i just fix it.
Because WSL installed python3 while autojump use python in ~/.autojump/autojump
so, you can do this :
install python or sed -i "s/\#\!\/usr\/bin\/env\ python/\#\!\/usr\/bin\/env\ python3/" ~/.autojump/bin/autojump

it works, thank you very much

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grota picture grota  ·  16Comments

loveencounterflow picture loveencounterflow  ·  6Comments

mbigras picture mbigras  ·  3Comments

nikitavoloboev picture nikitavoloboev  ·  13Comments

hcsaustrup picture hcsaustrup  ·  9Comments