Questions tagged [pip]

pip is a Python package installer

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

Locating pip configurations outside of pip.conf

I am trying to modify pip (version 9) to exclusively retrieve python packages from my Artifactory server instead of pypi. my /etc/pip.conf file has only configurations to hit my Artifactory repository ...
0
votes
0answers
20 views

How to force pip to install all dependencies without requeriments.txt

I'm trying to install certbot-dns-cloudflare. It always complain about missing packages. I fix that, then months later when I run my script again, it finds a issue with another package. Is there a pip ...
1
vote
2answers
45 views

Problem in Python (ubuntu)

When I try to install this, I get this error; what is the solution? ubuntu@ip-xxx-xxx-xxx-xxx:~/URLuploader-With-Hotstar$ pip3 install -r requirements.txt Traceback (most recent call last): File &...
0
votes
2answers
54 views

Errno28 “No space left on device” during pip install

I am trying to execute pip install tensorflow on my Raspberry but I'm getting an Errno 28 "No space left on device". I've read from multiple sources that it means that the folder used by pip ...
-1
votes
0answers
19 views

Why does moving a directory containing a python venv break that venv?

This seems to consistently happen to me, where if I move a project directory the virtual environment can no longer find pip. Why does this happen? Is this expected? I'm running Arch Linux and Python 3....
0
votes
2answers
46 views

installation of mechanize in python2

I have python2 and python3 both. When I run pip --version pip 21.0.1 from /home/istiak/.local/lib/python3.9/site-packages/pip (python 3.9) └─$ python2 --version Python 2.7.18 I have some ...
0
votes
1answer
75 views

How to resolve 'ImportError' in Python?

Have installed required module lxml but when imported, errors ImportError: No module named lxml How do I know From which location python modules are being considered? Which python version and pip is ...
1
vote
1answer
45 views

How to identify the python, pip and installed modules location on linux?

I started learning python but I am finding it difficult to understand on linux. uname -a Linux machine-name 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 ...
0
votes
1answer
19 views

Installing pip without internet

I'm installing python3-pip~~.rpm on RHEL7.6 but got an error saying /usr/bin/python3 is needed by python3-pip~~~.noarch python(abi) = 3.6 is needed by python3 ~~~.noarch The system came with python 2....
0
votes
1answer
36 views

Failed dependencies python

Installing python3-setuptools-39.2.0-10.el7.noarch.rpm file by sudo rpm -i command on Red Hat 7.6 without internet access produced an error with messages /usr/bin/python3 is needed by python3-...
0
votes
2answers
40 views

'LD' can't find library to link, even though 'ldconfig -v' lists the file

I'm trying to install KIWI on my RaspBerry Pi. When I attempt a pip install kiwi I get a linking failure, with /usr/lib64/gcc/aarch64-suse-linux/10/../../../../aarch64-suse-linux/bin/ld: cannot find -...
2
votes
2answers
314 views

Python 3.9 and pip-3.9 on FreeBSD 12.2

I'm facing a confusing situation. The official latest fully-supported version of Python is 3.9, and while it's available in FreeBSD pkg, pip-3.9 isn't, and I'll be needing it in the future when Python ...
0
votes
1answer
115 views

Unable to install/uninstall pip - Linux

When i try to uninstall pip, I am getting the error below $python2.7 -m pip uninstall pip Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in ...
2
votes
1answer
77 views

What is the Right Way to install pip3 on Ubuntu?

An alert while running pip3 sent me to some advice to "Only ever use your system package manager to upgrade the system pip." This was the original alert: WARNING: pip is being invoked by an ...
1
vote
1answer
179 views

pip hangs on `Loading macOS` when installing a package

When installing anything with pip, it hangs indefinitely, for example (running pip install geoclue2 -v): Using pip 21.0.1 from /usr/lib/python3.9/site-packages/pip (python 3.9) Defaulting to user ...
0
votes
0answers
64 views

Unable to install django through ansible

ansible app -b -m pip -a "name=django<4 state=present" This is the error team do you have any idea . i am guessing django name is wrong or something can you guys please help 192.168.60.5 |...
1
vote
1answer
75 views

How to install pip without root access in Ubuntu > 18.04 without distutils package installed

I would like to install pip within any of my virtual environments created with venv, but the get-pip.py script requires the distutils package, which is not installed in the server I am using, and I ...
1
vote
1answer
4k views

Why does “get-pip.py” complain about invalid syntax?

I am trying to install pip3 without having sudo privileges following the answer provided here. The first step is to execute the following: wget https://bootstrap.pypa.io/get-pip.py It seems to work ...
0
votes
1answer
21 views

A command to get currently installed versions of those listed with “>=” in requirements file (PIP) using grep/xargs

I have a requirements.txt file with versions listed e.g. # requirements.txt channels==2.4.0 colorama>=0.2.3 daphne==2.5.0 django-q>=1.1.4 For versions with == PIP installs that exact version ...
1
vote
2answers
705 views

Unable to install tensorflow on Arch Linux due to unsupported python version

Hi I recently tried to install tensorflow using pip install --user --upgrade tensorflow but it gives an error ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: ...
1
vote
1answer
54 views

Problem while trying to open legion app

sudo legion Traceback (most recent call last): File "/usr/share/legion/legion.py", line 19, in from app.ProjectManager import ProjectManager File "/usr/share/legion/app/ProjectManager....
0
votes
1answer
463 views

Ranger: ModuleNotFoundError: No module named 'ranger'

I have ranger on Arch linux. When I try to run it throws error: Traceback (most recent call last): File "/usr/bin/ranger", line 35, in <module> import ranger # NOQA pylint: ...
1
vote
1answer
2k views

How to install Python 2.7 on Fedora 32 Linux when the newest version is Python 3.8?

There is a software suite named amitools, which allows use of retro or vintage or whatever the term for nostalgia is these days, of AmigaOS programs directly from a Linux command line without using a ...
0
votes
1answer
43 views

Error: Pip is not working

i am typing pip install paramiko bash: /usr/local/bin/pip: /usr/bin/python2: bad interpreter: No such file or directory
2
votes
1answer
189 views

pip off-line installation + what is the equivalent approach as yum repository with rpms but for .whl files

Dear friends and colleges on our linux redhat servers we build yum repositories under /var/yum.repo.d so yum actually get from this repositories the required rpm for installation now we want to ...
-3
votes
2answers
253 views

why pip version isn't the latest when installing pip via yum

we try to install the latest version of pip by the following ( we have rhel 7.6 server with python 2.7 ) yum install python27-python-pip Loaded plugins: langpacks, product-id, search-disabled-repos, ...
0
votes
0answers
49 views

ModuleNotFoundError when importing in pycharm after installing python 3.9

I installed python 3.9. Whenever I install a package using pip and go to pycharm and write import (package), it shows ModuleNotFoundError. Then I checked the path of pip and saw that there were three ...
0
votes
1answer
1k views

python version and package installation issue

I have different python version on my Linux server running with Centos7. [xyz@innolx20122]$ python python python2.7 python3.6 python3.7 python3.7m-config python2 ...
0
votes
0answers
42 views

Responder not recognized in python3.8 on Manjaro

I have an application which uses responder but it is not recognized despite the fact it reports as installed: (darknet) vfbsilva@rohan ~/Source/darknet_alexey/darknet/pythons $ python3.8 ...
0
votes
0answers
10 views

Is it possible to get pipenv shell to source environment vars (secrets) with an executable?

I'm wondering if it's possible when executing pipenv shell to produce a shell with env vars that are sourced from some executable like source secrets.py or source secrets.sh I'm trying to avoid the ...
0
votes
1answer
567 views

yum + pre-existing rpmdb problem + yum complain about packages that already installed

we are trying to install the following rpm without success on rhel 7.2 server uname -r 3.10.0-327.el7.x86_64 yum install python2-cryptography-1.7.2-2.el7.x86_64.rpm Loaded plugins: langpacks, ...
0
votes
1answer
119 views

Blocked from using pip3

Default python is 2.7; default python3 is 3.6, which is the version I use; Ubuntu version 18.04. I'm trying to get newly downloaded python libraries to be installed in a python 3 library. charles@BW2:~...
0
votes
0answers
52 views

Whither module not found

I am a Python beginner and have some use or the 'whither' module. I did pip install --user whither, which installed it successfully (or so pip says). However, in the Python interpreter, import whither ...
0
votes
2answers
658 views

ERROR: Command errored out with exit status 1

Tried to install pygame using pip3 install pygame in Ubuntu 20.04 I came out with the error. Any sort of help is appreciated My error looks like this ERROR: Command errored out with exit status 1: ...
0
votes
0answers
15 views

Can I (safely) use pip inside a script run with sudo [duplicate]

I have an install script to set up dependencies for a project, this means installing packages using pip and apt. My prefered method is to run the script as sudo ./install but then how do I drop sudo ...
1
vote
2answers
373 views

Why does `pip` throw `ModuleNotFoundError` even though `setuptools` appears to be installed?

On an EC2 instance, I am attempting to install a Python package using pip, but receive an exception that states ModuleNotFoundError: No module named 'setuptools'. For context, the command I run is pip ...
3
votes
1answer
165 views

FreeBSD Python missing header files

I am using FreeBSD 11, Python 3.7, and clang 8.0.0, and I am trying to install Python packages using pip. But when I try to install a package, for example pycurl, I get an error saying it can't find ...
1
vote
1answer
2k views

Python command not found error while installing python 3.7.3 on python 2.7

I have Python 2 available at # which python /bin/python # python --version Python 2.7.5 And I am installing python 3.7 using following article https://wiki.centos-webpanel.com/install-django After ...
0
votes
1answer
609 views

firewall-cmd (ModuleNotFoundError: No module named 'six')

I'm try to open port using firewall-cmd but I get error ModuleNotFoundError: No module named 'six'. I'm try to reinstall six using easy_install, pip, pip3 and pip3.6 but it not work. os: centos 8 ...
0
votes
1answer
54 views

Command not found despite having just installed it?

As you can see in the screenshot below, I install a command (it's a wrapper for a program called qsiprep), and then try running it, but it says it's not installed...any ideas as to what is happening? ...
1
vote
0answers
133 views

How do I change PATH for pip?

I have different versions of python on my macos mojave and i could get the right path for python editing the -bash_profile, but can't get the same for pip Path. pip3 is /Library/Frameworks/Python....
2
votes
1answer
1k views

python-pip not available on Debian Bullseye

If I try to install pip for python2 using sudo apt-get install python-pip, but it returns this error message: Package python-pip is not available, but is referred to by another package. This may mean ...
0
votes
0answers
841 views

How to install regex for Python with pip?

How do I install regex for python in CentOS? [nsaunders@rolly ~]$ [nsaunders@rolly ~]$ pip3 install re Collecting re Could not find a version that satisfies the requirement re (from versions: ) No ...
-1
votes
1answer
2k views

installing pyqt5 for python2 on Ubuntu 20.04

I run the command pip install pyqt5 and I get the following error ~$ pip install pyqt5 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as ...
2
votes
2answers
172 views

pip3 install opencv is looking at the wrong URL

I'm trying to install opencv with pip3 on my Devuan GNU/Linux 3, and this is what happens: $ pip3 install opencv Collecting opencv Could not install packages due to an EnvironmentError: 404 Client ...
9
votes
2answers
34k views

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I'm using Kali Linux 2020.1, I installed Python3.7, then after trying to install modules using pip3 command I keep getting this error message. WARNING: pip is configured with locations that require ...
0
votes
2answers
16k views

How to solve “ERROR: Command errored out with exit status 1: python setup.py egg_info ” problem on Linux Mint 19.3?

I have Linux Mint 19.3 xfce. When I am running any pip command (for eg this command pip install -r requirements.txt I am getting error ERROR: Command errored out with exit status 1: python setup....
1
vote
1answer
32k views

Python “SSLError(”Can't connect to HTTPS URL because the SSL module is not available.“)': /simple/docutils/”

PROBLEM Whatever I try to install from terminal with pip (macOS 10.12) I get this error message I may have installed and fully deleted homebrew before but I am not sure how to solve this Installs ...
3
votes
2answers
2k views

Install virtualenv for python2.7 on debian 10

I want to use python2.7 with virtualenv. I recently upgraded from debian 8 to debian 10. I originally had python2.7 and pip installed on debian 8, but maybe something happened during the installation ...
-1
votes
1answer
32 views

ansible + is it possible to locate ansible under some folder

the usual way to install the ansible is by rpm's and pip installation some times this make conflicts and problem of dependencies is it possible to locate ansible under folder with all binaries ...