[Distutils] error message from testpypi.python.org

Thomas Heller theller at ctypes.org
Thu Jan 23 09:28:07 CET 2014


I'm trying out to submit a wheel to testpypi.python.org and then
install it from there with pip.  It doesn't work; what does the
following error message mean?

c:\>py -3.4 -m pip install py2exe -r https://testpypi.python.org/pypi/
Exception:
Traceback (most recent call last):
   File "C:\Python34-64\lib\site-packages\pip\basecommand.py", line 122, 
in main
     status = self.run(options, args)
   File "C:\Python34-64\lib\site-packages\pip\commands\install.py", line 
258, in run
     for req in parse_requirements(filename, finder=finder, 
options=options, session=session):
   File "C:\Python34-64\lib\site-packages\pip\req.py", line 1572, in 
parse_requirements
     req = InstallRequirement.from_line(line, comes_from, 
prereleases=getattr(options, "pre", None))
   File "C:\Python34-64\lib\site-packages\pip\req.py", line 172, in 
from_line
     return cls(req, comes_from, url=url, prereleases=prereleases)
   File "C:\Python34-64\lib\site-packages\pip\req.py", line 70, in __init__
     req = pkg_resources.Requirement.parse(req)
   File "C:\Python34-64\lib\site-packages\pip\_vendor\pkg_resources.py", 
line 2612, in parse
     reqs = list(parse_requirements(s))
   File "C:\Python34-64\lib\site-packages\pip\_vendor\pkg_resources.py", 
line 2538, in parse_requirements
     raise ValueError("Missing distribution spec", line)
ValueError: ('Missing distribution spec', '<?xml version="1.0" 
encoding="utf-8"?>')

Storing debug log for failure in C:\Users\thomas\AppData\Roaming\pip\pip.log


Thanks,
Thomas



More information about the Distutils-SIG mailing list