-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cannot install module - /bin/pip: No such file or directory #470
Comments
Try the fancy installation method |
Second. Pipsi is the way to go for installing python cli utils |
Thanks for the replies. I first uninstalled and installed again python and python3 using homebrew and also re-installed pip. However, trying to install any module, I know get the following error: |
Using pip3 I installed background and semver. Now I am facing another issue: I believe there might be a root cause of the above since I am not sure if all those errors are expected. |
Typo in the pip-tools. Installed them and now I am back at square one with the initial error: |
Do you have |
No, I do not. pip is available in terminal. but it is only 'attached' to python2 and python3 but not the default python: Any ideas on what could be wrong? |
Seems the root cause was that
Will further test and later update if this is solved. |
💫✨🍰✨💫 |
We should check for this and add some pretty error message if it's not set. |
@kennethreitz should pew check for this or should pipenv? |
@erinxocon pew should. |
$ hash -r |
I was having an issue only on codebuild, and this solved it for me: #1929 |
Maybe this will help newbies like me in the future. add @nzagorchev script in your
then add the following script to the file
then run this command:
then close your terminal and open it again. after that, it works perfectly :) |
Me funciono esta opcion $hash -r |
Hello,
Trying to install a module fails with the following error:
/bin/sh: /bin/pip: No such file or directory
I am using MacOS and have installed python and python3 using homebrew.
Then installed pipenv using pip3.
which pip
returns:/usr/local/bin/pip
and pip itself is found as a command.
However, if I use
python -m pip --version
it points to the default MacOS python:pip 9.0.1 from /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg (python 2.7)
I am unaware where it tries to resolve pip from and does not find it.
I am not sure if there is a problem with my $PATH paths or the issue is different.
Thank you for your time!
The text was updated successfully, but these errors were encountered: