error message from testpypi.python.org
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
On 23 January 2014 08:28, Thomas Heller <theller@ctypes.org> wrote:
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/
The flag -r is for a requirements file. Did you mean -i (--index-url)? Paul
Am 23.01.2014 10:05, schrieb Paul Moore:
On 23 January 2014 08:28, Thomas Heller <theller@ctypes.org> wrote:
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/
The flag -r is for a requirements file. Did you mean -i (--index-url)?
Sure - thanks for that, now it works. My only excuse is that setup.py uses the -r flag for that purpose... Thomas
On Thu, Jan 23, 2014 at 1:42 AM, Thomas Heller <theller@ctypes.org> wrote:
Am 23.01.2014 10:05, schrieb Paul Moore:
On 23 January 2014 08:28, Thomas Heller <theller@ctypes.org> wrote:
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/
The flag -r is for a requirements file. Did you mean -i (--index-url)?
Sure - thanks for that, now it works. My only excuse is that setup.py uses the -r flag for that purpose...
Well, that and the fact that the resulting error didn't seem to be of much help in pointing you in the right direction. I wonder if it could have failed earlier with a more helpful message. --Chris
participants (3)
-
Chris Jerdonek
-
Paul Moore
-
Thomas Heller