Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip cannot install PyHamcrest under Python 2.5 #19

Closed
vbabiy opened this issue Mar 15, 2011 · 2 comments
Closed

pip cannot install PyHamcrest under Python 2.5 #19

vbabiy opened this issue Mar 15, 2011 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior

Comments

@vbabiy
Copy link
Contributor

vbabiy commented Mar 15, 2011

What it says on the tin.

Note that installing PyHamcrest under python 2.6 and 2.6 succeed.

Here's the full output for a pip call that attempts to install PyHamcrest under python 2.5:

 ! (py25) crose@02-mr41-a (log) $ ../bin/pip -v install pyhamcrest
../bin/pip -v install pyhamcrest
Downloading/unpacking pyhamcrest
  Using version 1.4 (newest of versions: 1.4, 1.4, 1.4, 1.3, 1.3, 1.2.1, 1.2.1, 1.1, 1.0)
  Downloading PyHamcrest-1.4.tar.gz
  Running setup.py egg_info for package pyhamcrest
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory: '/Users/crose/projects/advanis/cs008_defines/python/.tox/py25/build/pyhamcrest/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/Users/crose/projects/advanis/cs008_defines/python/.tox/py25/build/pyhamcrest/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Exception information:
Traceback (most recent call last):
  File "/Users/crose/projects/advanis/cs008_defines/python/.tox/py25/lib/python2.5/site-packages/pip-0.8.1-py2.5.egg/pip/basecommand.py", line 130, in main
    self.run(options, args)
  File "/Users/crose/projects/advanis/cs008_defines/python/.tox/py25/lib/python2.5/site-packages/pip-0.8.1-py2.5.egg/pip/commands/install.py", line 223, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/Users/crose/projects/advanis/cs008_defines/python/.tox/py25/lib/python2.5/site-packages/pip-0.8.1-py2.5.egg/pip/req.py", line 941, in prepare_files
    req_to_install.run_egg_info()
  File "/Users/crose/projects/advanis/cs008_defines/python/.tox/py25/lib/python2.5/site-packages/pip-0.8.1-py2.5.egg/pip/req.py", line 219, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/Users/crose/projects/advanis/cs008_defines/python/.tox/py25/lib/python2.5/site-packages/pip-0.8.1-py2.5.egg/pip/__init__.py", line 249, in call_subprocess
    % (command_desc, proc.returncode))
InstallationError: Command python setup.py egg_info failed with error code 1

Storing complete log in /Users/crose/.pip/pip.log
 ! (py25) crose@02-mr41-a (log) $ python --version
python --version
Python 2.5.4

@vbabiy
Copy link
Contributor Author

vbabiy commented Mar 15, 2011

assetroot.s3.amazonaws.com/ianb/pip/20110218/216/pip.log


Original Comment By: offbyone

@markotibold
Copy link

Hey guys,

why is this issue cloesed? It's still an issue when using pip in a virtualenv. One needs to copy distutils.cfg for every newly created env. Like described her at SO: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat

Or is there a better way to get around the fact that pip cannot find a compiler if it is not set in distutils.cfg?

pfmoore pushed a commit to pfmoore/pip that referenced this issue Oct 25, 2012
Allow --use-wheel in requirements files
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants