-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
the pip install command in Dockerfile failed due to the recent base image upgrade
looks like an issue from pypa/pip#9031
https://github.com/Project-MONAI/MONAI/runs/1959756220?check_suite_focus=true#step:3:233
...
sha256=552bd3a0ebe95e88c50727a6d5dbaa719f90311ff30b201af1422562c0efece3
Stored in directory: /tmp/pip-ephem-wheel-cache-s8fybs4_/wheels/e2/62/1e/926d1ebe7b1e733c78d627fd288d01b83feaf67efc06e0e4c3
Building wheel for black (PEP 517): started
Building wheel for black (PEP 517): finished with status 'done'
Created wheel for black: filename=black-20.8b1-py3-none-any.whl size=124184 sha256=2cfc4a1b33dd13c2f5a08176f5321114a91c6e92f00f6d74518237f08aee5147
Stored in directory: /tmp/pip-ephem-wheel-cache-s8fybs4_/wheels/95/a4/59/10cd5378d52f92cdb45025f040e4686e10ae5217961c25fd66
Building wheel for importlab (setup.py): started
Building wheel for importlab (setup.py): finished with status 'done'
Created wheel for importlab: filename=importlab-0.6.1-py2.py3-none-any.whl size=21290 sha256=0c4557ade6aee44d4bc41ccce04cf8246076d7e313d6f4c57233a489b1bf8e4b
Stored in directory: /tmp/pip-ephem-wheel-cache-s8fybs4_/wheels/cb/48/e1/ec5e64d1c678795cfeefb5ebde5eb7260c044ee3322ec151b8
Successfully built gdown black importlab
ERROR: Exception:
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
status = self.run(options, args)
File "/opt/conda/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/opt/conda/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 378, in run
to_install = resolver.get_installation_order(
File "/opt/conda/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 191, in get_installation_order
weights = get_topological_weights(graph)
File "/opt/conda/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 242, in get_topological_weights
assert len(weights) == len(graph)
AssertionError
The command '/bin/sh -c cp /tmp/requirements.txt /tmp/req.bak && awk '!/torch/' /tmp/requirements.txt > /tmp/tmp && mv /tmp/tmp /tmp/requirements.txt && python -m pip install --no-cache-dir --use-feature=2020-resolver -r /tmp/requirements-dev.txt' returned a non-zero code: 2
To Reproduce
run these commands locally
Line 22 in 75b78cd
| RUN cp /tmp/requirements.txt /tmp/req.bak \ |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working