You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/homes/smacgowan/anaconda2/envs/varalign_dev/bin/ProIntVar", line 11, in <module>
load_entry_point('ProIntVar-Core==0.1', 'console_scripts', 'ProIntVar')()
File "/homes/smacgowan/anaconda2/envs/varalign_dev/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py", line 565, in load_entry_point
File "/homes/smacgowan/anaconda2/envs/varalign_dev/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
File "/homes/smacgowan/anaconda2/envs/varalign_dev/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py", line 2258, in load
File "/homes/smacgowan/anaconda2/envs/varalign_dev/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py", line 2264, in resolve
File "/homes/smacgowan/anaconda2/envs/varalign_dev/lib/python2.7/site-packages/ProIntVar_Core-0.1-py2.7.egg/cli/main.py", line 8, in <module>
from prointvar.fetchers import fetch_best_structures_pdbe
File "/homes/smacgowan/anaconda2/envs/varalign_dev/lib/python2.7/site-packages/ProIntVar_Core-0.1-py2.7.egg/prointvar/fetchers.py", line 20, in <module>
from prointvar.utils import fetch_from_url_or_retry
File "/homes/smacgowan/anaconda2/envs/varalign_dev/lib/python2.7/site-packages/ProIntVar_Core-0.1-py2.7.egg/prointvar/utils.py", line 28, in <module>
from contextlib import suppress
ImportError: cannot import name suppress
The text was updated successfully, but these errors were encountered:
@stuartmac Just tried to run the tests with Python 2.7 and many failed. I guess there are other incompatibilities. By the looks of it, I think mostly related to string/bytes and unicode differences...
Things that I could see don't work/exist in Python 2.7 are for example os.makedirs(db_dir, exist_ok=True) and identifier = str(r.content, encoding='utf-8')...
@biomadeira It would be reasonable to make Python 3.x+ a requirement if it turned out to be too much effort to incorporate Python 2 compatibility. Sooner or later the world will probably move on to it... Faster when fewer packages support Python 2!
Although, it would probably simplify using Arpeggio and OpenBabel if you could use Python 2...
CLI gives an error due to
suppress
in Python 2.7:The text was updated successfully, but these errors were encountered: