Questions tagged [pip]

PIP (Package Installer for Python) is a package manager for the Python language.

92 questions
2
votes
4 answers

Ansible: "You need to install 'jmespath' prior to running json_query filter", but it is installed

I am using Ansible on top of Python3 and Enterprise Linux 8 (Rocky Linux 8). When I try to use json_query, I am getting the following error: fatal: [ansible]: FAILED! => {"msg": "You need to install \"jmespath\" prior to running json_query…
norinori
  • 81
  • 1
  • 8
2
votes
1 answer

Python3.8 pip ProxyError: Cannot connect to proxy on CentOS Linux release 7.9.2009

Im having trouble installing libraries using pip in my freshly installed CentOS 7 (7.9.2009) server. I installed python 3.8.3 and upgrade the pip right away to the latest version 21.0.1. Already exported my http_proxy and https_proxy settings, But…
JCm
  • 121
  • 1
  • 4
1
vote
0 answers

does the pip installer respect existing pip configurations?

I am trying to deploy pip following this guide: https://pip.pypa.io/en/stable/installing/ If i deploy a pip.conf specifying the index server will the installer respect it and fetch the packages from there?
Graeme
  • 670
  • 1
  • 6
  • 16
1
vote
3 answers

Red Hat + pip + virtualenv + proxy = Error

i've an issue: my corporate proxy kill every pip-installation. export http_proxy= doesn't works: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.',…
1
vote
2 answers

copyright or convention in pip naming

When I try to install janitor using pip install janitor Some unexpected module gets installed: https://github.com/yoloseem/janitor In order to install the correct one, I need to change my pip command to: pip install pyjanitor Is there any-way…
shantanuo
  • 3,579
  • 8
  • 49
  • 66
1
vote
1 answer

pip install failed on is not a supported wheel on this platform

we want to use pip in order to install - MarkupSafe-1.1.0-cp27-cp27m-manylinux1_x86_64.whl from uname -a we have uname -a Linux Master 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux so we download the pkg…
shalom
  • 461
  • 13
  • 29
1
vote
2 answers

Can I create a virtualenv offline (without internet) on CentOS/Redhat?

Can I create a virtualenv offline (without internet) on CentOS/Redhat? if yes what are all the dependencies I've to download? with python 2.7
KKE
  • 135
  • 1
  • 4
  • 11
1
vote
0 answers

rhel 6.4 pip with proxy error : name or service not known

the pip command pip search statsd --proxy=http://anadi.misra:XXXXXXXXX@192.168.200.77:8080 Now my password contains an @ too so I give the encoded form in password; i.e. some@pass is supplied as some%40pass, but I get exception name or service not…
Anadi Misra
  • 527
  • 2
  • 9
  • 23
1
vote
0 answers

Identical Vagrant VM's install pip packages differently?

I have a vagrant VM being provisioned via Puppet. I'm testing this on two different Ubuntus, 12.04 and 13.10, both using the "standard" precise32 box. The application I'm testing is a Django application being installed using Python's setuptools (by…
OEP
  • 183
  • 9
1
vote
1 answer

Import error on boto - Module not found

I have a ubuntu LTS server. On boot I run a script which does the following: #!/bin/bash apt-get -y install build-essential python-dev libxml2-dev libxslt1-dev apt-get -y install python-pip python-virtualenv …
J.Zil
  • 1,123
  • 3
  • 21
  • 29
1
vote
1 answer

ipython easy_install/pip error

gcc is complaining with the following when trying to sudo easy_install readline: Running readline-6.2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JEUNX3/readline-6.2.4/egg-dist-tmp-_THoHR /usr/bin/ld: cannot find -lncurses collect2: ld…
CMag
  • 707
  • 2
  • 11
  • 32
1
vote
1 answer

Python virtualenv, pip and large setupping

What is the best practices for management large installs of virtualenv. How to do mass update of the packages?
Biriukov
  • 407
  • 2
  • 8
1
vote
1 answer

How do I make pip or easy_install use /opt/python2.6/include?

I have built and installed python2.6.2 in /opt according to these instructions: http://casualengineer.blogspot.com/2009/09/install-python-262-on-centos-53.html#comment-form but for some reason my pip and easy install can't find…
1
vote
3 answers

How do I upgrade django on ubuntu 9.04?

I've got Django 1.0.2 installed on Ubuntu 9.04. I'd like to upgrade Django, because I have an app that needs Django 1.1 or greater. I tried using pip to do the upgrade, but got the following: $ sudo pip install Django==1.1 Downloading/unpacking…
Lorin Hochstein
  • 5,028
  • 15
  • 56
  • 72
1
vote
2 answers

Cleaning Jenkins workspace but keep Python .venv intact

This question pertains to working with a Python + Poetry project within a Jenkins pipeline and how to retain the .venv/ SCENARIO: I have a Jenkins Pipeline job that triggers a Python project. The project uses poetry to create a virtual env in .venv…
Rino Bino
  • 511
  • 5
  • 21