Hello all,
I have an issue deploying my space, it seems to be an issue with the pip resolver or not having pip latest version - for this space spaces/DataForGood/bechdelai-tool-image
ERROR: Exception:
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
status = run_func(*args)
File "/home/user/.local/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
return func(self, options, args)
File "/home/user/.local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 389, in run
to_install = resolver.get_installation_order(requirement_set)
File "/home/user/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order
weights = get_topological_weights(
File "/home/user/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights
assert len(weights) == expected_node_count
AssertionError
WARNING: You are using pip version 22.0.2; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
--> ERROR: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 2
Those topics were similar but without solutions
- How to specify the pip version?
- Build failing due to "ERROR: Command errored out with exit status 1:" - #3 by h4d35 here @XciD helped but without info to replicate the fix
Also having the possibility to launch this command somewhere would probably solve it
pip install -r requirements.txt --use-deprecated=html5lib --use-deprecated=legacy-resolver
Thanks a lot for the help !
Theo