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

pokemon: command not found in MacOS #156

Open
cesardramirez opened this issue Aug 6, 2018 · 4 comments
Open

pokemon: command not found in MacOS #156

cesardramirez opened this issue Aug 6, 2018 · 4 comments

Comments

@cesardramirez
Copy link

I installed in Mac OS pip3 v10.0.1 with python v3.7.0.

I execute the command pip3 install --user git+https://github.com/LazoCoder/Pokemon-Terminal.git and I install iTerm2 but in the moment of execute the command pokemon appears in the terminal command not found. ¿Why?

@sylveon
Copy link
Collaborator

sylveon commented Aug 6, 2018

You need to add ~/.local/bin to your PATH

@cesardramirez cesardramirez changed the title pokemon: command not found pokemon: command not found in MacOS Aug 6, 2018
@cesardramirez
Copy link
Author

This is the correct way? Unfortunately it still doesn't work :(

$ export PATH=$PATH:~/.local/bin
$ echo $PATH
/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/[my_user]/.local/bin
$ pokemon
-bash: pokemon: command not found

@samuelhnrq
Copy link
Collaborator

Hum... This is very strange... First try to ls .local/bin and checking the output to see if the executable is there, then the issue is probably because bash isn't expanding your tilde, and then you should use the $HOME environment variable instead of it which will expand.

Otherwise I would guess that pip itself failed in installing the binary, try executing the command again and check the output for anything fishy, maybe even post it here.

@uplime
Copy link

uplime commented Oct 17, 2018

@cesardramirez I had to add the following to my path as well: $HOME/Library/Python/3.6/bin

It looks like you have the global python bin in your folder, but not the local one?

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

4 participants