3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

python を3.7に上げたら Pokemon Terminal で env: python3.6: No such file or directory と出るようになった

Posted at

OSX HighSierra です。

brew upgrade python

で python 3.6.5 → 3.7 にしたら ポケモンターミナルでエラー発生。

$ pokemon
env: python3.6: No such file or directory

$HOME/.Pokemon-Terminal/pokemonを見る。

pokemon
#!/usr/bin/env python3.6

import sys

from pokemonterminal.main import main


main(sys.argv[1:])

シェバンを書き換える。

pokemon
- #!/usr/bin/env python3.6
+ #!/usr/bin/env python3

これで解決。

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?