48
votes
Accepted
Cannot install python-pip with yum
You have to enable the EPEL repo, use:
yum --enablerepo=extras install epel-release
This command will install the correct EPEL repository for the CentOS version you are running.
After this you will ...
- 2,243
37
votes
Accepted
Run pip for python3 on Fedora
If it is properly installed you can run python3 -m pip to run pip for Python 3.
Installing pip for Python 3 is done with dnf install python3-pip. This should create the script /usr/bin/pip3. Using ...
- 486
32
votes
Run pip for python3 on Fedora
I could not run pip3 though my system showed python3-pip as already being installed and I'm using Fedora 22. What I did to get around this was re-install python3-pip like so:
dnf reinstall python3-...
30
votes
How to run pip in non-interactive mode?
There is a --yes option specifically for the uninstall command. Calling
pip uninstall --yes <some-package>
uninstalls the package without asking for confirmation.
For installing, piping in ...
20
votes
Accepted
How to fix "Permission Denied" in Git Bash in Windows 10?
Try the command PY instead of Python # Invoking The Interpreter (python.org)
- 898
18
votes
Accepted
pip not working on hombrew python 2.7 install
Generally, homebrew will install a formula into /usr/local/Cellar/formula and then place a link at /usr/local/bin/formula.
To make use of your installed formulae, make sure /usr/local/bin is in your $...
18
votes
Accepted
How to install python-pip in CentOS7 Docker Container
Using this in the Dockerfile allowed me to install pip:
RUN yum -y install epel-release && yum clean all
RUN yum -y install python-pip && yum clean all
That seems much cleaner than ...
14
votes
Accepted
The script is installed in directory, which is not PATH
The answer to how can you fix it is in the very log you've posted.
Add the location
c:\users\рубена\appdata\local\programs\python\python37\Scripts
to the Python path directory.
Rather than replicate ...
- 1,244
14
votes
Can't install anything on pip
For those who encounter this and need to use Python 3.8+, make sure to update you setuptools to version 42.0.0 (or later).
pip install --upgrade setuptools
- 241
13
votes
Find outdated/updatable pip packages
Thing is, I never upgrade all packages. I upgrade only what I need, because projects may break.
Because there was no easy way to upgrade package by package and update the requirements.txt file, I ...
12
votes
The script is installed in directory, which is not PATH
For Windows, follow these steps:
Go to File Explorer.
Navigate to C: → Users → (your user name) → AppData → Local → Programs → Python → Python38-32 (your python version) → Scripts
Copy this path,
e....
12
votes
Accepted
Re-scan python libraries after pip install in Visual Studio Code
I have found that you can do ctrl + shift + p and select Python: Restart language server.
- 268
12
votes
Accepted
11
votes
Cannot install python-pip with yum
I was going crazy about the same issue. The reason why yum couldn't find python-pip was that it is not called python-pip anymore.
Starting with EPEL Version 7 it is renamed to identify the python ...
- 211
10
votes
How to run pip in non-interactive mode?
With recent versions of setuptools (pip version >= 20.2), you can use:
pip install --no-input ...
… which will disable prompting user for private repo credentials.
10
votes
How to install pip and easy_install on CentOS
I couldnt follow from previous answers to get easy_install.
I followed the other commands to install pip. (requires sudo privileges)
to install easy_install:
sudo yum install python-setuptools ...
- 208
10
votes
Accepted
pip - Get long description of uninstalled package?
pip does not provide this functionality. Hovewer, 1. there is a cool package named yolk that can query PyPI repositories for metadata of available packages. 2. PyPI offers a JSON API that can be ...
- 598
7
votes
The 'pip==9.0.3' distribution was not found and is required by the application
Most likely your pip crashed due to missing dependencies. Try reinstalling pip.
sudo easy_install pip==9.0.3
- 171
6
votes
Accepted
Where does pip install to on Linux when i use --user
In the case of Python 2.7, the location, which --user installs the package to is:
~/.local/lib/python2.7/site-packages/
and executables in:
~/.local/bin/
- 7,755
6
votes
Cannot install python-pip with yum
The CentOS Docker image doesn't include the EPEL repository by default, as a regular CentOS installation does. You should yum install epel-release first -- after that, yum install python-pip should ...
- 15.2k
6
votes
how do i install pip in cygwin?
In CYGWIN it is best to install packages via the CYGWIN installation program. Even for other installation packages like pip.
Run the CYGWIN installation program again. Select the pip package you want....
- 201
6
votes
Accepted
vscode & pipenv - pipenv not found
I solved this issue by providing an absolute path to my pipenv binary for the vscode setting python.pipenvPath. The default setting of "pipenv" does not appear to work, despite pipenv being part of my ...
- 176
5
votes
How to install pip and easy_install on CentOS
I issued this command in CentOS 7 and it worked
curl https://bootstrap.pypa.io/get-pip.py | python -
- 151
5
votes
python3-pip installed but pip3 command not found?
I ran into this problem and found the solution. The python3-pip package installed a pip-3.2 binary.
Executing pip-3.2 --version shows:
pip 1.1 from /usr/lib/python3/dist-packages (python 3.2)
...
- 51
5
votes
Find outdated/updatable pip packages
Simple output:
pip list --outdated
See also docs on pip list --outdated option.
Pretty output:
pip install pip-check
pip-check
- 675
5
votes
pip not working on hombrew python 2.7 install
If brew is managing your python install and pip is no longer symlinked (i.e. you type "which pip" and get no results) try this from your home directory:
brew unlink python && brew link python
...
- 151
5
votes
SSL: CERTIFICATE_VERIFY_FAILED error in a docker container
adding RUN apt-get install ca-certificates to my Dockerfile worked for me.
- 383
5
votes
No Ansible config file or /etc/ansible directory after trying pip and yum install
Ansible works fine from any directory. You don't need to use /etc/ansible.
Install Ansible from pip
Create work directory with recommended structure
Use -i to point your current inventory (testing or ...
- 166
5
votes
The script is installed in directory, which is not PATH
For me, the solution posted by Stese didn't work and wasn't helpful at all, thus I am posting it to update the thread and help the community.
For those using MAC-OS
Solution 1:
Despite I had ...
- 151
5
votes
How to properly install Pipenv on WSL Ubuntu 18.04?
If pipenv installed successfully there will be a short notice like this:
The scripts pipenv and pipenv-resolver are installed in '~/.local/bin'
which is not on PATH. Consider adding this ...
- 10.5k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pip × 289python × 221
linux × 49
installation × 37
python3 × 37
ubuntu × 28
macos × 27
windows × 16
windows-10 × 14
anaconda × 14
homebrew × 12
package-management × 11
bash × 9
mac × 8
debian × 8
docker × 8
command-line × 7
fedora × 7
path × 7
virtualenv × 7
easy-install × 7
windows-7 × 6
powershell × 6
terminal × 6
ssl × 6