Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

pip install download html docs #508

Closed
eadmaster opened this Issue · 4 comments

3 participants

Andrea Carl Meyer Alexandre Gravier
Andrea

happened with pip install sympy:

Using version 0.7.1-docs-html (newest of versions: 0.7.1-docs-html, 0.7.1, 0.7.1, 0.7.1, 0.7.0, 0.7.0, 0.6.6, 0.6.5, 0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6.0, 0.5.15, 0.5.14)
...
IOError: [Errno 2] No such file or directory: 'C:\PortableApps\Python\Python27\build\sympy\setup.py'

Carl Meyer
Owner

Can't reproduce; pip install sympy works fine here. Is that really the exact command that you ran?

Carl Meyer carljm closed this
Andrea

yes,
similar error with :
pip install pyglet
installation went fine after supplying direct url.

EDIT: i've just reinstalled pip from https://raw.github.com/pypa/pip/master/contrib/get-pip.py and the error persists!

Carl Meyer
Owner

Ah, it fails with distribute but succeeds with setuptools, due to a difference in how versions are ordered. Distribute orders version 0.7.1-docs-html as later than 0.7.1, setuptools orders them the other way around. But the zipfile that pip is identifying as version 0.7.1-docs-html is not actually a Python package source distribution.

At root, this is a packaging bug on the part of sympy and pyglet; due to the way Python installers have to scrape links to find packages, naming a non-source-distribution zipfile or tarball according to the "packagename-version" pattern will cause pip and easy_install to mis-identify it as a source distribution. If the docs zipfile is renamed, for instance to sympy-docs-html-0.7.1.zip, this problem will go away.

Alexandre Gravier

I also encountered this error. The simplest workaround is to pip install sympy==0.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.