sphinxtr icon indicating copy to clipboard operation
sphinxtr copied to clipboard

UpdatePython2.7

Open rddaz2013 opened this issue 8 years ago • 4 comments

Some updates for Python2.7 and some cleanup in the imports

rddaz2013 avatar Nov 13 '15 18:11 rddaz2013

Actually, I don't really understand what problem you're trying to solve here. Are you trying to run with Python 2.6?

jterrace avatar Nov 13 '15 18:11 jterrace

The 'backports' did not work..

"from backports import OrderedSet from backports import Set"

Python 2.7.9 |Anaconda 2.1.0 (64-bit)| (default, Dec 15 2014, 10:33:51) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2

http://python-future.org/imports.html

rddaz2013 avatar Nov 13 '15 18:11 rddaz2013

Did you try pip install backports ? The backports module should be listed in requirements.txt but it looks like it's missing.

jterrace avatar Nov 13 '15 18:11 jterrace

yes i installed backport...the error was that the datastruct of OrderedSet and Set. It was not a import error.

https://docs.python.org/2/library/sets.html https://docs.python.org/2/library/collections.html

I think if i use Python2.7.9 the backports are from Python3... i don't know for which python version the script it was created?

On my computer i can now run the makefile without error and getting results.

rddaz2013 avatar Nov 13 '15 19:11 rddaz2013