Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pip]

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

1
vote
3answers
75 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 ...
1
vote
2answers
394 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
62 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
0answers
24 views

linux redhat + pip failed to install whl pkg

on my redhat machine we try to install the Jinja pkg in spite we want to install local pkg , seems that pip using network installation and we not understand why pip check the resolution we also ...
0
votes
1answer
245 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
173 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
101 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
27 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
629 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
102 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
4k 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
84 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
969 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/...
7
votes
2answers
81k 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
6k 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
1k 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
29 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
957 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 ...
1
vote
2answers
802 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 ...
3
votes
1answer
701 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
5k 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
749 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
211 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
9k 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 ...
9
votes
4answers
15k 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
515 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
906 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
96 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 ...
6
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
4k 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
395 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
142 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
532 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
503 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 ...
0
votes
1answer
1k views

Installing PIP on debain - Unknown command pip

I'm having a bit of a hard time installing PIP on a debian linux machine. This is the code I am using in a shell script: # Install setuptools python -c 'import setuptools' > /dev/null 2>&1 ...
-2
votes
1answer
163 views

Python's 3.4a LEFOVERS [closed]

root@secure [~]# find / -name python3.4 | rm -rf root@secure [~]# locate python3.4 /root/.local/lib/python3.4 /usr/local/include/python3.4m /usr/local/lib/libpython3.4m.a /usr/local/lib/...
4
votes
1answer
8k views

How do I tell if a Python pip install is working correctly or hanging?

I am trying to install the python pandas package in a virtualenv using pip. On my development machine it installed correctly, but now I am trying on the server, it gets so far then it seems to get ...
0
votes
1answer
56 views

Pip timeouts with host reset mesage every time under VirtualBox [closed]

When trying to install requirements.txt (or anything else for the matter), pip just time-outs every time with host reset message. This happens only under VirtualBox (guest CentOS 6.4 64-bit, host ...
2
votes
2answers
2k views

mysql-python with MySQL 5.6

I am having problems installing the mysql-python module in my server (CentOS 6.4 x86_64) with MySQL 5.6 installed and Python 2.6.6. [python@localhost ~]$ rpm -qa | grep SQL MySQL-shared-compat-5.6.12-...
0
votes
1answer
864 views

How to make pip or easy_install use aliases

I have some trouble installing python-mysqldb. The error I get is E: Could not perform immediate configuration on 'gcc'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) So ...
0
votes
1answer
4k views

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-...
7
votes
5answers
15k views

PIP not installing to virtualenv directory

I am attempting to install django to a virtualenv that already exists. Following the instructions listed on the pip-install website here, I ran the following from SSH. name@server:~$ . myenv.env/bin/...
3
votes
1answer
2k views

Why is ATLAS not detected on RHEL when I try a SciPy installation through pip?

I'm using RHEL6, Python 2.6.6, and trying to install SciPy through pip. [user@server ~]$ sudo pip install scipy <snip> atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,...
0
votes
1answer
2k views

Ubuntu 13.04 errors with Python PIP install

After trying to use Ubuntu 13.04 instead of Ubuntu 12.10 to run my Chef recepis against I am getting an error when it tries to run sudo pip install cElementTree supervisor STDOUT: Downloading/...
3
votes
1answer
468 views

Deploy a Python project on a server with no compiler and no internet connection [closed]

There's a Python project I want to deploy on a production server which has no internet connection and no compiler. The project is using SQLAlchemy and pip install sqlalchemy requires a compiler to ...