When trying to install scikit-learn I encountered an error:
$ pip3 install scikit-learn
-bash: pip3: command not found here
$ pip install scikit-learn
-bash: pip3.4: command not found
How do I resolve this? I've already tried uninstalling pip and reinstalling it via python3, but nothing seems to work.
Pip3, however, does still seem to be installed on my machine:
$ locate pip3
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-pip/files/pip33
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-pip/files/pip34
/usr/local/Cellar/python3/3.4.3/bin/pip3
/usr/local/Cellar/python3/3.4.3/bin/pip3.4
/usr/local/Cellar/python3/3.5.0/bin/pip3
/usr/local/Cellar/python3/3.5.0/bin/pip3.5
/usr/local/Cellar/python3/3.5.1/bin/pip3
/usr/local/Cellar/python3/3.5.1/bin/pip3.5
/usr/local/bin/pip3
/usr/local/bin/pip3.5
Related
When I try to install LDFLAGS=-L/usr/local/opt/openssl/lib pip install mysql-python I get this error:
zsh: command not found: pip
who faced such problem?
maybe it will help someone in the future. I solved this issue in the following way for mac m1:
export PATH=/opt/homebrew/bin:$PATH
brew install python
easy_install pip
Then you need to make sure that pip has installed:
pip3 --version
in my case it installed:
pip 22.3.1 from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11)
And then you can install dependencies!
Heading
i trying to install meinheld using "python3 -m pip install meinheld" or "python3 -m pip install -U meinheld" and the result still got an error. can someone tell me what should i do for installing meinheld.
[my result still error][1]
I want to run this script:
pip3 install -r requirements.txt
However, when I run it I get the error message
-bash: pip3: command not found
I have already installed brew and pip. When I run
pip3 -V
I get pip 19.0.3 from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip (python 3.7)
Does anybody know why I am getting that error message?
If it helps, I am trying to run this program in the end
pip is for python2 version.
pip3 is for python3 version you should install python3 interpreter for pip3 and provide in environment variables.
run this command, if you are woring on python3.
pip3 install -r requirements.txt
from you error code it looks like you are running pip[3] , which is wrong.
for python2, you can run
pip install -r requirements.txt
Randomly it seems my pip has stopped working with the following error inside a new virtualenv:
$ pip install requests==2.6.0
Usage: pip COMMAND [OPTIONS]
No command by the name pip install
(maybe you meant "pip install requests==2.6.0")
I've tried the following:
Creating a new virtualenv
Reinstalling virtualenv
Reinstalling pip
Reinstalling python
Checking out repo again
Which doesn't seem to change anything, has anyone else ran into this issue before?
Note that i can pip install outside a virtualenv.
I just cleaned up my mac after a mavericks install (yeah, i'm late to the party).
I'm using homebrew Python but I've confirmed this error with the stock apple python as well. I've got pip 1.5.6 installed system-wide and also in my virtualenv.
I can pip-sys install for system-wide pip installs no problem. When In a virtualenv though, I get the following error, even with which pip.
pip install -U -r requirements/dev.pip
Usage:
pip <command> [options]
no such option: -E
Seems there is something wrong with the pip install within the virtualenv. Pip is not working but pip2 install works fine. So maybe there's a version conflict where pip installs thinking it's a different python version from what was installed.
To recap
pip install south
fails with above error
pip2 install south
works fine.