Autojump: 'python': Keine solche Datei oder kein Verzeichnis

Erstellt am 26. Mai 2019  ·  2Kommentare  ·  Quelle: wting/autojump

Hi,
Ich habe es installiert und zu ~/.zshrc . hinzugefügt

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

Aber nicht, mit meiner Shell habe ich immer: "/usr/bin/env: 'python': No such file or directory"

Ich habe Python3

Hilfreichster Kommentar

Hallo, Mann, ich repariere es gerade.
Da WSL Python3 beim Autojump installiert hat, verwenden Sie Python in ~/.autojump/autojump
also kannst du das machen:
install python oder sed -i "s/\#\!\/usr\/bin\/env\ python/\#\!\/usr\/bin\/env\ python3/" ~/.autojump/bin/autojump

Alle 2 Kommentare

Hallo, Mann, ich repariere es gerade.
Da WSL Python3 beim Autojump installiert hat, verwenden Sie Python in ~/.autojump/autojump
also kannst du das machen:
install python oder sed -i "s/\#\!\/usr\/bin\/env\ python/\#\!\/usr\/bin\/env\ python3/" ~/.autojump/bin/autojump

es funktioniert, vielen Dank

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen