Questions tagged [pip]

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

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

how can I ask pip (python package installer) to use different proxy servers for different urls?

I am currently in the following situation: my company has a proxy server for all external sites, but all internal hosts are direct connect only. Accessing them through the proxy will result in a proxy ...
0
votes
1answer
90 views

Python pip installing grpcio kills connections to my Google Compute Instance?

I'm seeing a strange issue when I try to install the Pip package "google-cloud-datastore" where once it starts building the dependent "grcpio" wheel, all TCP (including SSH) connections to the ...
0
votes
0answers
19 views

What is the differences between to install docker-compose by binary or by pip install

We have two option that we can use in order to install the docker-compose We already installed docker , and now we want to install docker compose on production environment One option is by binary ...
3
votes
2answers
808 views

Ubuntu 20.04 minimal: “Unable to locate package python-pip”

Launching some small VMs in GCP and thought I would give Ubuntu 20.04 LTS minimal a try. After doing an "apt update; apt upgrade" I'm able to install packages like Apache, but having zero luck with ...
0
votes
1answer
164 views

Cannot `pip install flask` in Python3.6 virtual environment

I'm trying to follow a MS DevOps tutorial here: https://microsoft.github.io/PartsUnlimitedMRP/pandp/200.1x-PandP-LocustTest.html I've tried Ubuntu and CentOS, both produce the exact same failure: (...
0
votes
0answers
18 views

Django keep redirecting website according to browsers language

Our Django default website page is http://example.org/en and we also have versions of same website in Dutch http://example.org/nl and German http://example.org/de We always want our website to go to ...
0
votes
0answers
18 views

How to query the `pip` command, to get the FQDM it will use?

Is there a way to query the pip command (or another way), to get the FQDN of the server pip will use (e.g., in pip install)?
0
votes
2answers
364 views

Django import error while installing Tacker via Devstack: No module named django.core.management

I am trying to install Tacker via Devstack. I am following this installation guide. I use same local.conf as in the guide. However, after running ./stack.sh, I see this error: Requirement already ...
4
votes
1answer
102 views

Python 3.6.3 virtual environment issue in CentOS7 - “Error: Could not connect to Docker (is it running?)”

I have a virtualenv issue in my CentOS7 VM: Checking for virtualenv... Activating virtual environment /home/crimson/venv/python3 /home/crimson/venv/python3/myvra.json matches /home/crimson/venv/myvra....
0
votes
0answers
46 views

python pip behind proxy

at my workplace we have this http proxy which behaves sometimes strange. The prob is at my new web dev server (debian wheezy), it has installed pip 1.1 from /usr/lib/python2.7/dist-packages (...
4
votes
1answer
694 views

Installing certbot - error - “nothing provides pyparsing”

I'm trying to set up let's encrypt on my Amazon ec2 RHEL nginx server, via the command $ sudo yum install certbot-nginx but it keeps failing: $ sudo yum install certbot-nginx Last metadata expiration ...
1
vote
0answers
11 views

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 ...
1
vote
3answers
320 views

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 ...
3
votes
2answers
2k views

GCP support after Python 2.7 Deprecation on Genuary 2020

After upgrading pip to the latest version (19.0.1) I got the following message: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 ...
1
vote
2answers
79 views

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 ...
0
votes
1answer
2k views

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 ...
1
vote
2answers
1k views

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
0
votes
0answers
230 views

How to remove python-virtualenv RPM using commands that are run from an installing RPM?

I need to install virtualenv from an RPM. I do this from the RPM's post-install script, with the following: pip2 install pip --upgrade pip2 install virtualenv --upgrade However, the pip2 install ...
0
votes
1answer
31 views

Why is pip using deprecated settings?

My pip install is trying to contact the wrong server (a server I used in the past, but now deprecated): I see this because the installation of a package is timing out. Two questions: Where is pip ...
0
votes
3answers
1k views

Ansible pyenv virtualenv gives error for pip

I have ansible task - name: Install setuptools in virtual environment pip: name: setuptools-git virtualenv: "myenv" virtualenv_command: "/root/.pyenv/bin/pyenv virtualenv 2.7.13" ...
0
votes
1answer
159 views

pip installed under old version of python

I installed Python 2.6 and pip on centos 6.4. I also upgraded python to 2.7.6 and updated bashrc to reference 2.7.6 for the python command. Pip however, remains under 2.6 and any attempt to reinstall ...
2
votes
1answer
11k views

easy_install and pip fail with SSL warnings

I'm looking after some RHEL6 servers and trying to set them up to use an internal PyPi server (proxied by Nexus 3). The problem is that our internal PyPi server is one of several SSL VHosts on the ...
0
votes
1answer
98 views

Cannot upgrade pyhon-html5lib

on my Ubuntu 14.04 LTS when I run: dpkg -l python-html5lib I'm receiving: ||/ Name Version Architecture Description +++-====...
0
votes
1answer
1k views

Ansible: Pip install directly from s3 using s3 module

How do I Pip install directly from s3 using s3 module in Ansible? with git I would: - name: Install module from git repo pip: name=\"git+git@bitbucket.org:MYORG/REPONAME.git\" executable=/usr/...
10
votes
2answers
133k views

How Uninstall pip and python [closed]

I wanted to install version 3 of python and pip but instead issued sudo apt-get install python-pip python-dev how do I uninstall python and pip, I tried sudo apt-get uninstall but did not work, what ...
2
votes
2answers
10k views

why yum could not find the python-pip packages on some PCs

I got a very strange problem and cannot figure out why. When I run yum info python-pip command on some CentOS 7 machines, it returns Error: No matching Packages to list. But, I used to install python-...
0
votes
2answers
2k views

Failed to install the ansible with pip

I tried to install ansible with the following commands: docker run -ti --rm ubuntu:14.04 bash echo "===> Updating cache..." && \ apt-get update && \ \ \ echo "==...
0
votes
1answer
36 views

PyPi Django installation incomplete

I've encountered an interesting issue, and haven't yet managed to solve it with Google. I'm using virtualenv+python3.5. After a number of ImportErrors, I came to a conclusion that my Django ...
0
votes
1answer
2k views

Pip + virtualenv + Redhat SCL + proxy = not working

I am setting up a virtualenv based on Python 2.7 in Redhat Enterprise 6 (which ships with 2.6.x by default). I installed the SCL 2.7 version of Python and then created the virtualenv: $ scl enable ...
3
votes
1answer
975 views

CentOS6.X: letsencrypt, cronjob and wrong “pip version”

I'm trying to write a script which will update the letsencrypt cert automatically via cronjob on up-to-date CentOS6.x. To do that I wrote have following script: #!/bin/sh # # get newest "Let's ...
2
votes
2answers
1k views

Getting a custom package to install properly on Elastic Beanstalk

I'm trying to get an elastic beanstalk worker environment set up, but one of the packages in the project's requirements.txt file comes from a private pypi server that I've got set up on EC2. I can ...
4
votes
1answer
926 views

linux binary strip error when using pip install: Not enough room for program headers, try linking with -N

When using strip on certain object files in Amazon Linux, it errors with: $ sudo strip dfitpack.so BFD: st6qqyd2: Not enough room for program headers, try linking with -N strip:st6qqyd2[.note.gnu....
0
votes
2answers
6k views

How to install python module(s) via pip using salt?

I need to install the paramiko module of python on multiple machines using the salt stack. I looked at the documentation about how to do this, but was not able to understand the syntax. Can someone ...
7
votes
1answer
1k views

Build Docker image with cache on build server?

We've got a Jenkins CI server that fetches our code from Git, builds it, makes a Docker image, and then ships it off to some production servers. Our project is primarily written in Python, so "...
0
votes
1answer
1k views

How to install ncclient correctly on CentOS7?

I am able to install ncclient within a virtual environment on Ubuntu 14.04 server using python pip. Also need to install ncclient within virtual environment on CentOS7 Gnome Desktop platform. But I ...
0
votes
0answers
233 views

RHEL 6.6 pip after python upgrade “ImportError: /usr/local/lib/python2.7/lib-dynload/array.so: undefined symbol: PyUnicodeUCS2_FromUnicode”

I originally have python 2.6 and installed 2.7 and want to use pip to install some libraries like futures (with an s :)). Unfortunately, it seems like pip's libraries has been messed up. When type pip ...
2
votes
2answers
12k views

Python3 virtualenv: ImportError: no module named 'ConfigParser'

I'm working on OSX and I'm trying to create a virtualenv with Python3, but I'm getting an error: $ virtualenv --python python3 env Running virtualenv with interpreter /Library/Frameworks/Python....
0
votes
1answer
46 views

Are we drowning in package managers? [closed]

The current trend is to use language-oriented package manager, such as npm or bower for javascript, pip for python, gems for ruby and so on. As I understand the need for a dependency manager when you ...
10
votes
4answers
16k views

How to install python3.4-pip in FreeBSD 10.1?

I searched in the ports and can't find a pip installation package other than the pip for python27 py27-pip-6.1.1. Which way is the best for installing pip for python 3.x in FreeBSD 10.1? Or is it ...
0
votes
0answers
934 views

How do I re-compile python?

I am attempting to install pip on RHEL. When I run: [root@somewhere ~]# python get-pip.py Traceback (most recent call last): File "get-pip.py", line 20204, in <module> main() File "get-...
0
votes
1answer
1k views

Installing scipy in virtualenv on Elastic Beanstalk

I'm using Amazon's Elastic Beanstalk to deploy an example Flask app. I can get a simple "Hello World" app deployed perfectly, but now I'm trying to deploy the app with scipy as a requirement. I've ...
0
votes
1answer
1k views

How to enable PIP on an Azure VM? [closed]

Has anyone used the preview portal in Azure to configure a PIP for a VM? When I go into the IP Addresses tab the "enable" button is grayed out. The is for an "instance public IP". Is it just because ...
-1
votes
1answer
101 views

Pyajam in debian 7 [closed]

I'm trying to make the installation package python Pyajam I tried to install a pip, I received an error 4Suite-XML package Installing collected packages: pyajam, 4Suite-XML Running setup.py install ...
7
votes
2answers
7k views

pip install seems to be ignoring dependency links

I have a Python application that depends on several packages. One of those packages, unfortunately, isn't in PyPi so I have to install it directly from the git repo. I've been trying to add it into ...
1
vote
0answers
1k views

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 ...
0
votes
1answer
5k views

Could not find any downloads that satisfy the requirement iso8601>=0.1.9 for DevStack

My machine operating system is Ubuntu 12.04 I tried to implement the all in one openstack solution for development. But ./stack.sh did not succeed. It looks like a package problem for pip. so, I ...
1
vote
0answers
407 views

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 ...
0
votes
1answer
151 views

Trouble with $PATH on debian

I think I have a problem with $PATH. I am running a shell script and it is complaining that it doesnt recognize the command even though when I run it manually it does. Shell Script: #!/bin/bash # ...
0
votes
1answer
550 views

How to install pip and other specific python modules onto a CentOS server that is air-gapped from the internet?

Ultimately, I'm trying to install SaltStack on a super computer that has no internet connection. And I'm not allowed to hook it to the internet. So far, I have installed an entire yum repo on the ...
0
votes
1answer
519 views

Installing pip to a custom location

I am a little bit stuck when it comes to installing pip. Securely download get-pip.py. [2] Then run the following (which may require administrator access), to install (or upgrade to) the latest ...