pip failing inside virtualenv??

A forum for general discussion of the Python programming language.

pip failing inside virtualenv??

Postby powysm » Tue Dec 17, 2013 12:04 pm

Hi,

Relative newbie.
I have just tried to spin up a new virtualenv based on python 2.6.9 installed using pythonz, in-order to test out python code that i know works with 2.6.6 the OS installed version.
All seemed to go well until i started to install the dependencies. A "pip install pillow" gives me the messages below.

I have tried another new virtualenv using the install 2.6.6 and that works fine - so i am guessing its to do with the pyhtonz version config. Any help wlecome.

Thanks
Mathew

Code: Select all
Downloading/unpacking pillow
  Cannot fetch index base URL http://pypi.python.org/simple/
  Could not find any downloads that satisfy the requirement pillow
No distributions at all found for pillow
Storing complete log in /home/intranet/.pip/pip.log


---> pip log looks like:
Code: Select all
DistributionNotFound: No distributions at all found for pillow
    raise DistributionNotFound('No distributions at all found for %s' % req)
  File "/home/intranet/.virtualenvs/dummy2/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/index.py", line 157, in find_requirement
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/home/intranet/.virtualenvs/dummy2/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/req.py", line 978, in prepare_files
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/intranet/.virtualenvs/dummy2/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/commands/install.py", line 245, in run
    status = self.run(options, args)
  File "/home/intranet/.virtualenvs/dummy2/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/basecommand.py", line 104, in main
Traceback (most recent call last):
Exception information:

No distributions at all found for pillow

  Could not find any downloads that satisfy the requirement pillow
  Will skip URL http://pypi.python.org/simple/pillow/ when looking for download links for pillow
  Could not fetch URL http://pypi.python.org/simple/pillow/: <urlopen error unknown url type: https>
  Getting page http://pypi.python.org/simple/pillow/
  * http://pypi.python.org/simple/pillow/
  URLs to search for versions for pillow:

  Cannot fetch index base URL http://pypi.python.org/simple/
  Will skip URL http://pypi.python.org/simple/ when looking for download links for pillow
  Could not fetch URL http://pypi.python.org/simple/: <urlopen error unknown url type: https>
  Getting page http://pypi.python.org/simple/
  Will skip URL http://pypi.python.org/simple/pillow when looking for download links for pillow
  Could not fetch URL http://pypi.python.org/simple/pillow: <urlopen error unknown url type: https>
  Getting page http://pypi.python.org/simple/pillow

Downloading/unpacking pillow
/home/intranet/.virtualenvs/dummy2/bin/pip run on Tue Dec 17 11:46:01 2013
Last edited by stranac on Tue Dec 17, 2013 12:17 pm, edited 1 time in total.
Reason: First post lock.
powysm
 
Posts: 1
Joined: Tue Dec 17, 2013 11:51 am

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest