Closed jeremymanning closed 5 years ago
nvm...seems to be an issue with the version of quail installed in the Sherlock container...
hey team-- i'm getting this issue again. did we resolve it? if so, how?
>>> import quail
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/site-packages/quail/__init__.py", line 1, in <module>
from .load import load, load_example_data
File "/usr/local/lib/python3.6/site-packages/quail/load.py", line 7, in <module>
from itertools import izip_longest
ImportError: cannot import name 'izip_longest'
@jeremymanning it looks like your import statement is referencing an old version of quail still on your computer. from itertools import izip_longest
was removed here. I wasn't able to replicate the issue with either the current pip or github version.
hey @jeremymanning, are we ready to close this issue?
i think so...closing.
importing quail in python 3 results in the following error:
It looks like
izip_longest
was renamed tozip_longest
in the Python 3 version of itertools (see this post)I think something the following change to
load.py
would fix the issue: