Newest pip Questions

Q&A for professional and enthusiast programmers

Python3 does not find modules installed by pip3

I'm having problems with python3. For some reason that I cannot figure out, the modules available in python3 are not the same as the ones installed via pip3. Running pip3 list in a Terminal returns: ...

“pip install jq” generates errors on Mac and Windows

Duplicate of this issue: unable to install JQ via PIP ... but the first answer there is wrong (jq is supported on Windows) and the second refers to "brew" so I'm guessing is for Mac. I am trying to ...

Using PIP from Anaconda env - cannot see installed packages

I am using anaconda. I created an environment and I am trying to install packages. However, some of the packages are not available via conda so I am trying to install the via pip (actually from a ...

Psycopg2 Module clearly installed yet module not found

I'm not sure whats happening but I seemed to have successfully installed psycopg2 with easy_install then checked with pip. My app errors out at the import statement. proof of install If you think, ...

pip and pip3 - both pointing to python3.5?

I started to experiment with shade today; and installed it for both python2 and python3 on my ubuntu 16.04 system; using: sudo pip install shade respectively sudo pip3 install shade Both commands ...

Multiple errors when trying to update or install using pip for Python 3

I'm trying to learn how to install packages, and I'm starting with virtualenv. However, I'm running into errors that I don't know how to deal with. PS C:\Users\Username> pip install virtualenv ...

Patch Django Site Package From a Pull Request Using Pip

I need to apply pull request 51 to a locally installed Site Package in my Django project but I am not sure how it should be done without applying directly to the local library. Is there a way to ...

How to install h5py for python 3.6 on windows without Microsoft Visual c++ 14.0

The python package index only has versions for python 2.4 to 2.7, as does the wheels on Gohlke's website. After installing cython from a wheel, pip install h5py gives the error: "Microsoft Visual C+...

Command “python setup.py egg_info” failed with error code 1 - unable to fix

I' m having trouble with pip. I have installed and updated Setuptools, pip, ez_setup and django. I have also tried to install the packages manually from a tar.gz with no luck. Still getting the same ...

Installing twisted on python 3.5 and virtualenv using pip

when i run pip install twisted in the command line in windows, it starts installing packages until the flowing line comes up. failed building wheel for twisted pip then crashed soon after, ...

offline pip install fails (distutils)

I want to install pytest-runner-2.11.1 offline. The setup.py file says I need to install setuptools_scm>=1.15.0 first: I downloaded the versions from pypi and run pip install --no-cache-dir ...

pip not downloading any package

I have a linux machine with python set up by the chef cookbook "python". From a while pip is not trying to download any package from internet. For instance, if I type pip install argh I get ...

trouble installing mysql python, mysqldb module not found in django

I'm using mysql with django for the first time. Both are installed, I can use mysql in the workbench or command prompt, however when I tried migrations in django, it can't find the mysqldb module, cut ...

Tensorflow installation using SSE instructions with pip

I successfully installed cpu only tensorflow on ubuntu 16.04 using the default instructions provided here. The instructions recommended using virtualenv and pip so I did not build from source. I had ...

pip install mod_wsgi error

I am getting the following error while trying to run the command pip install mod_wsgi.I have c++ installed already Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\...

/usr/local/bin/python2: No module named pip (Raspberry Pi/Jessie)

Iv'e gotten lots of help from stackoverflow but I'm stumped and this is my first post. I'm trying to install OverGrive from a .deb file and keep hitting a wall with a "/usr/local/bin/python2: No ...

How to uninstall dependencies introduced by a Python package installed with Pip?

I tried to install PyLint. When installing I saw the following: Collecting pylint Downloading pylint-1.6.5-py2.py3-none-any.whl (577kB) 100% |████████████████████████████████| 583kB 655kB/s ...

Difference between two pip3 packages: pytesseract vs tesseract [on hold]

What is the difference between these two packages? pip3 install pytesseract pip3 install tesseract

pip3 in ubuntu 14.04 alongside pip for 2.7

I'd like to install pip3 for my python3 environment, but am finding it is not recognized by system, despite being installed. $ sudo apt-get install python3-pip Reading package lists... Done Building ...

Python SciPy giving error with pip install scipy

C:\PY27\Scripts>pip install --no-cache-dir scipy Collecting scipy c:\py27\lib\site- packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py:318: SNIMissingWarning: An HTTPS request has been ...

Prevent package from being installed on old Python versions

What can we put in a setup.py file to prevent pip from collecting and attempting to install a package when using an unsupported Python version? For example magicstack is a project listed with the ...

Cannot install drawnow

Could not import setuptools which is required to install from a source distribution. Traceback (most recent call last): File "c:\python27\lib\site-packages\pip\req\req_install.py", line 387, in ...

Could not find a version that satisfies the requirement tensorflow==1.0.0 in Heroku

I am deploying a django project using heroku cloud platform. I have added the dependencies in requirements.txt file. However when I push to heroku master, I get the following error: Collecting ...

Single pip command to install a tarball or zip as a wheel

I have been unable to find a single pip command to install from a repository (svn, git) or tarball/zip as a wheel. I'm using Python 2.7. For example, Genshi is only available from PyPI as tarball or ...

Find *installed* Python module(s?) providing the imported functionality

Given a bunch of Python files -- which can be standalone scripts or modules -- that run correctly on a machine, how can I find out the minimal set of Python modules I need to install on a clean ...

Trouble Installing Splash (JS Rendering Service) on Cpanel

So I install Splash the manual way using: git clone https://github.com/scrapinghub/splash/ When I run pip install -r requirements.txt, I got this error: Installing collected packages: re2 Running ...

environment variables applied during elastic beanstalk deploy

My basic question: How would I set an environment variable that will be in effect during the Elastic Beanstalk deploy process? I am not talking about setting environment variables during deployment ...

pip not working Python 3.6

I'm trying to install the outpan API into python 3.6, using pip, which is allegedly now packaged into python. However, when I try either python -m pip install outpan, or pip install outpan, it simply ...

Install pip on pypy

I want to speed up my program so i'm trying to setup pypy + psycopg2cffi. This program opens a xml, parses it and then insert some data in a database. I'm using currently python3, postgresql and ...

httpclient not installing with pip on python 3.5 virtual environment

I was working on a project with a virtual environment using python 2.7. I tried pip installing httpclient but it was not possible until I upgrade to python 3. I upgraded to python 3.5.3rc1 but still I ...

How to manage pip installed packages that require external system dependencies?

I have a python app which has a lot of dependencies, all are mentioned in requirement.txt, And many of those packages require non-python stuff to be installed. lxml needs libxml2-dev libxslt1-dev ...

Two results for which -a pg_config, trying to install psycopg2 on Mac

I am trying to install pyscopg2 (using pip) on Sierra. Seems to be a common problem, so I've checked out a handful of other SO answers. I tried the solution from here. But I still can't install. ...

Getting an exception while trying to install pip

I want to install praw with pip install praw command but before I want to install pip, couldn't manage to do it. Collecting pip Using cached pip-9.0.1-py2.py3-none-any.whl Collecting wheel ...

Undefined symbol after Running get-pip on fresh Python source installation

I've installed python 2.7.13 from sources according to their readme file on CentOS 6.6. (just following the configure/make procedure). I run these python from the command line and seems to work fine. ...

ImportError: No module named tensorflow

Please help me with this error I have installed the tensorflow module on my server and below is it's information 15IT60R19@cpusrv-gpu-109:~$ pip show tensorflow Name: tensorflow Version: 1.0.0 ...

pip install --user reports successful installation but nothing's there

I'm need to run a python program on a compute cluster (Linux) where my user does not have root privileges. The program depends on scipy and some other libraries that are not already installed on the ...

Tensor Flow import error on Python 3.5.2 - 64bit Windows 7

I installed tensor flow using pip as follows" > C:\Users\Satish>**pip install tensorflow** Requirement already satisfied: tensorflow in c:\users\satish\appdata\local\programs\python\python35\...

“conda export” can not export packages that is installed through pip

I want to use package untangle, unfortunately, it can not be installed through conda, I have to install it using pip. And when I use conda export to export the requirement file, I find that the ...

AttributeError: 'module' object has no attribute 'histogram' when using tf-faster-rcnn

Please have a look at this issue and let me know if you know how to fix it? Here's the link to the original repo: https://github.com/endernewton/tf-faster-rcnn mona@pascal:~/computer_vision/tf-faster-...

Skip building wheel if it's already in the wheelhouse

I'm automatically building wheels for each tagged release using github URL. These wheels are then uploaded to a wheelhouse. Command I'm using is pip wheel --wheel-dir=/tmp/wheels/ ...

pip looking to wrong directory after Anaconda installation

When I type 'pip' in terminal, I get the following error: -bash: /usr/local/bin/pip: /usr/local/opt/python3/bin/python3.5: bad interpreter: No such file or directory I recently installed the ...

DNF and YUM does not work after Purging usr/lib/python3.5/site-packages/

I was fiddling around with Fedora, trying to uninstall a python Module. I couldn't find the one that I was looking for , so the half linux-primate brain thought of an Idea , to execute this. sudo rm -...

using repo other then pypi with pip

I am having trouble understanding how pip works in a specific environment. The thing is that I am trying to install OpenStack using ansible-openstack deployment method. It provides playbooks to ...

pip install mod_wsgi, How to Set MOD_WSGI_APACHE_ROOTDIR environment?

I am trying to install mod_wsgi in Windows 10. The command pip install mod_wsgi is giving me error, RuntimeError: No Apache installation can be found. Set the MOD_WSGI_APACHE_ROOTDIR environment to ...

unable to pip-install pyravendb (enum 0.4.6 error)

I'm trying to install the pyravendb "lib" in my python3 installation on ubuntu 16.04. (pip install pyravendb) It seems to be a dependency error, yet its using the one that comes with the lib ( ...

Unable to upgrade to tensorflow v1.0 on WIndows

I tried to upgrade to TensorFlow v1.0 after the recent release, but pip is unable to install it for me. I originally installed it with pip install tensorflow-gpu and tried to run pip install --...

Why doesn't pip freeze show opencv?

I've installed OpenCV on my mac and I can import it in Python: >>> import cv2 >>> cv2.__version__ '3.2.0' but when I use pip freeze the package is not in the list: $ pip freeze | ...

Build a wheel of private project w/o passing github URL

Currently I'm building top level package via pip wheel git+ssh://git@github.com/user/package.git@1.2.3 For sub-packages I can just add dependency links as such: install_requires = [ "subpackage=...

pip install wheel on windows when multiple python versions

I am running python3 on windows, and have 2 python3 versions installed (3.4 and 3.5). This is necessary from some reasons. Python 3.4 seems to be the default one and is located in c:/python34/... ...

conda package on Nexus Repository

My company use Nexus repository as npm proxy for package management. does anyone has experience of using Nexus to hold conda packages (python) and for proxy? In the Nexus documentation it clearly said ...
Translating... 0%