Skip to content

Comments

UpdatePython2.7#38

Open
rddaz2013 wants to merge 12 commits intojterrace:masterfrom
rddaz2013:UpdatePython27
Open

UpdatePython2.7#38
rddaz2013 wants to merge 12 commits intojterrace:masterfrom
rddaz2013:UpdatePython27

Conversation

@rddaz2013
Copy link

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

@jterrace
Copy link
Owner

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

@rddaz2013
Copy link
Author

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

@jterrace
Copy link
Owner

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

@rddaz2013
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants