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]
Related
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
I want to upgrade my pip, but if I type in "python -m pip install --upgrade pip", then my command shell says "cannot find 'python'". Python is already installed and my command shell can't detect the command "python", though.
It depends on which version of python you are using:
pip3 install --upgrade pip
Or:
python3 -m pip install --upgrade pip
Try that as I suspect you are using python 3 which is why it doesn't work.
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
I know the newer versions of python come with pip installed. So 'sudo apt-get install python3-pip' gives me that it is installed saying that it is the latest version, then why does 'pip install django' gives an error saying pip is not insatlled? Namely this:
The program 'pip' is currently not installed. You can install it by typing:
sudo apt-get install python-pip
I again run 'sudo apt-get install python-pip' (for python 2.7) which installs version 1.5. So i try pip install -U pip and it downloads the package marked 7.1 and succesfully installs. However on checking the version again it is still 1.5
You can install pip with the help of get-pip.py script.
you can download this script and execute on your terminal "python get-pip.py".
it will install pip on your system.
you can also use curl to download get-pip.py script-
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py".
To verify the installation you can use-
pip --help
pip -V
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.