BruceSherwood/vpython-wx

Installation - weird dependencies processing

Closed this issue · 3 comments

Hi. When installing VPython in my Debian 7 x64 system, I get this at the end:

blah blah

Installed /usr/local/lib/python2.7/dist-packages/VPython-6.05-py2.7-linux-x86_64.egg
Processing dependencies for VPython==6.05
Searching for Polygon
Reading http://pypi.python.org/simple/Polygon/
Reading http://www.j-raedler.de/projects/polygon
Reading https://github.com/jraedler/Polygon3/downloads
Download error on https://github.com/jraedler/Polygon3/downloads: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol -- Some packages may not be found!
Reading https://github.com/jraedler/Polygon2/downloads
Reading http://polygon.origo.ethz.ch/
Download error on http://polygon.origo.ethz.ch/: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 111] Connection refused -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/
Download error on http://polygon.origo.ethz.ch/: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/
Download error on http://polygon.origo.ethz.ch/: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading https://github.com/jraedler/Polygon3/downloads
No local packages or download links found for Polygon
error: Could not find suitable distribution for Requirement.parse('Polygon')

This happens with the current master as well as my fork (see pull request #15).

Something is wrong in the installation config because those requirements are already met! In fact, the software works fine even with those errors.

I figured out that what the installer is doing is trying to read the sources listed in https://pypi.python.org/simple/Polygon/. I couldn't find the part that's responsible for that. I must say that the installation/setup scripts are really non-standard, perhaps because this software was created before all these best practices and conventions were established.

My colleague Steve Spicklemire is the person who has been developing his
greatly improved installer (with whatever failings it has, it's a huge
improvement over what went before). Because I'm not sure whether he too
gets these notes sent from GitHub, I forward your pull request to him and
am copying him on this note.

Thanks much for taking an interest in this! Much appreciated.

Bruce Sherwood

On Tue, Sep 3, 2013 at 7:27 AM, German Larrain notifications@github.comwrote:

Hi. When installing VPython in my Debian 7 x64 system, I get this at the
end:

blah blah

Installed /usr/local/lib/python2.7/dist-packages/VPython-6.05-py2.7-linux-x86_64.egg
Processing dependencies for VPython==6.05
Searching for Polygon
Reading http://pypi.python.org/simple/Polygon/
Reading http://www.j-raedler.de/projects/polygon
Reading https://github.com/jraedler/Polygon3/downloads
Download error on https://github.com/jraedler/Polygon3/downloads: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol -- Some packages may not be found!
Reading https://github.com/jraedler/Polygon2/downloads
Reading http://polygon.origo.ethz.ch/
Download error on http://polygon.origo.ethz.ch/: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 111] Connection refused -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/
Download error on http://polygon.origo.ethz.ch/: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/
Download error on http://polygon.origo.ethz.ch/: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading http://polygon.origo.ethz.ch/download
Download error on http://polygon.origo.ethz.ch/download: [Errno 101] Network is unreachable -- Some packages may not be found!
Reading https://github.com/jraedler/Polygon3/downloads
No local packages or download links found for Polygon
error: Could not find suitable distribution for Requirement.parse('Polygon')

This happens with the current master as well as my fork (see pull request
#15 #15).

Something is wrong in the installation config because those requirements
are already met! In fact, the software works fine even with those errors.

I figured out that what the installer is doing is trying to read the
sources listed in https://pypi.python.org/simple/Polygon/. I couldn't
find the part that's responsible for that. I must say that the
installation/setup scripts are really non-standard, perhaps because this
software was created before all these best practices and conventions were
established.


Reply to this email directly or view it on GitHubhttps://github.com//issues/16
.

@BruceSherwood it's actually Kirby Urner who introduced us to VPython in a DjangoCon 2013 talk. I had looked into it when choosing the visualization package for my simulation software (ended up picking VTK), but that's another topic :)

For the record, the PR in question has been accepted thus it's now correct to install the dev version this way:

pip install git+git://github.com/BruceSherwood/vpython-wx.git