Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirement parse error at bootstrapping #1118

Open
Grustamli opened this issue Oct 1, 2021 · 0 comments
Open

Requirement parse error at bootstrapping #1118

Grustamli opened this issue Oct 1, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Grustamli
Copy link

I am trying to install ILS by running ./scripts/bootstrap. However, the scripts throws below error.

Python version: 3.8.10
Pip version: 21.2.4

Stack trace

Installing collected packages: invenio-app-ils
  Attempting uninstall: invenio-app-ils
    Found existing installation: invenio-app-ils 1.0.0a52
    Uninstalling invenio-app-ils-1.0.0a52:
      Successfully uninstalled invenio-app-ils-1.0.0a52
  Running setup.py develop for invenio-app-ils
Successfully installed invenio-app-ils
Traceback (most recent call last):
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Flask 2.0.1 (/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages), Requirement.parse('Flask<2.0,>=1.0.4'), {'invenio-base', 'invenio-oaiserver', 'invenio-assets'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/invenioils/invenioils/.venv/bin/ils", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Flask 2.0.1 (/home/ubuntu/invenioils/invenioils/.venv/lib/python3.8/site-packages), Requirement.parse('Flask<2.0,>=1.0.4'), {'invenio-base', 'invenio-oaiserver', 'invenio-assets'})
@Grustamli Grustamli added the bug Something isn't working label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants