Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't open file pokemon #152

Open
KimHunJin opened this issue Jul 29, 2018 · 7 comments
Open

can't open file pokemon #152

KimHunJin opened this issue Jul 29, 2018 · 7 comments

Comments

@KimHunJin
Copy link

i'm installed brew python3
current my python3 version is 3.7

but, get this error

~ python3 pokemon grawlithe
(null): can't open file 'pokemon': [Errno 2] No such file or directory

please help me.. I like pokemon!!

@jimmyorourke
Copy link
Contributor

Just run $ pokemon growlithe without specifying python

If you did a per user pip install then you may need to update your path as per https://github.com/LazoCoder/Pokemon-Terminal#pip-per-user

@KimHunJin
Copy link
Author

@jimmyorourke
I do that command line.

~ pokemon grawlithe
env: python3.6: No such file or directory

so I used python3 before command line

@jimmyorourke
Copy link
Contributor

Ah, I think the python version is probably pinned to 3.6

@sylveon
Copy link
Collaborator

sylveon commented Jul 30, 2018

Pip installation should update the shebang

@samuelhnrq
Copy link
Collaborator

Well then running the pip install command again with --force-reinstall should fix it @KimHunJin

@taozhi8833998
Copy link

taozhi8833998 commented Oct 21, 2018

for python3.6: No such file or directory error, you could use the python version in your computer instead of python3.6 that specified by Pokemon-Terminal, the steps:

  • $ vim `which pokemon`
  • edit file, change python3.6 to python3

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

@sylveon
Copy link
Collaborator

sylveon commented Oct 21, 2018

Make sure python3 points to at least a python 3.6 version or else you'll encounter syntax errors related to f-strings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants