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
This is not really a bug, just outdated info in the docs.
eqllib needs the more_itertools package, which requires python3:
ERROR: Package 'more-itertools' requires a different Python: 2.7.17 not in '>=3.5'
This dependency makes eqllib fails at launch if using python2.7:
Traceback (most recent call last):
File "/usr/local/bin/eqllib", line 11, in
load_entry_point('eqllib==0.2.0', 'console_scripts', 'eqllib')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/seppala/devel/src/coursera/exercises/holiday_hack/eqllib/eqllib/init.py", line 4, in
from .loader import Configuration
File "/home/seppala/devel/src/coursera/exercises/holiday_hack/eqllib/eqllib/loader.py", line 12, in
from .schemas import Analytic, BaseNormalization, make_normalization_schema
File "/home/seppala/devel/src/coursera/exercises/holiday_hack/eqllib/eqllib/schemas.py", line 4, in
import jsonschema
File "/usr/local/lib/python2.7/dist-packages/jsonschema-3.2.0-py2.7.egg/jsonschema/init.py", line 33, in
import importlib_metadata as metadata
File "/usr/local/lib/python2.7/dist-packages/importlib_metadata-1.3.0-py2.7.egg/importlib_metadata/init.py", line 9, in
import zipp
File "/usr/local/lib/python2.7/dist-packages/zipp-0.6.0-py2.7.egg/zipp.py", line 12, in
import more_itertools
File "build/bdist.linux-x86_64/egg/more_itertools/init.py", line 1, in
File "/usr/local/lib/python2.7/dist-packages/more_itertools-8.0.2-py2.7.egg/more_itertools/more.py", line 460
yield from iterable
^
SyntaxError: invalid syntax
It looks like the version of jsonschema wasn't pinned well, so this pulled in a version of jsonschema that is incompatible. I'll still keep support for Python 2.7, and a fix will be in shortly.
Describe the bug
This is not really a bug, just outdated info in the docs.
eqllib needs the more_itertools package, which requires python3:
ERROR: Package 'more-itertools' requires a different Python: 2.7.17 not in '>=3.5'
This dependency makes eqllib fails at launch if using python2.7:
Traceback (most recent call last):
File "/usr/local/bin/eqllib", line 11, in
load_entry_point('eqllib==0.2.0', 'console_scripts', 'eqllib')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/seppala/devel/src/coursera/exercises/holiday_hack/eqllib/eqllib/init.py", line 4, in
from .loader import Configuration
File "/home/seppala/devel/src/coursera/exercises/holiday_hack/eqllib/eqllib/loader.py", line 12, in
from .schemas import Analytic, BaseNormalization, make_normalization_schema
File "/home/seppala/devel/src/coursera/exercises/holiday_hack/eqllib/eqllib/schemas.py", line 4, in
import jsonschema
File "/usr/local/lib/python2.7/dist-packages/jsonschema-3.2.0-py2.7.egg/jsonschema/init.py", line 33, in
import importlib_metadata as metadata
File "/usr/local/lib/python2.7/dist-packages/importlib_metadata-1.3.0-py2.7.egg/importlib_metadata/init.py", line 9, in
import zipp
File "/usr/local/lib/python2.7/dist-packages/zipp-0.6.0-py2.7.egg/zipp.py", line 12, in
import more_itertools
File "build/bdist.linux-x86_64/egg/more_itertools/init.py", line 1, in
File "/usr/local/lib/python2.7/dist-packages/more_itertools-8.0.2-py2.7.egg/more_itertools/more.py", line 460
yield from iterable
^
SyntaxError: invalid syntax
To Reproduce
Steps to reproduce the behavior:
Just pointing this out in case anyone (like me) is still living in the past and using python2.7.
Best,
Anna
The text was updated successfully, but these errors were encountered: