Skip to content

Resolve pip install error and update to python base 1.0.8#15

Open
EdSwarthout wants to merge 3 commits intoNVIDIA:mainfrom
EdSwarthout:main-fixes
Open

Resolve pip install error and update to python base 1.0.8#15
EdSwarthout wants to merge 3 commits intoNVIDIA:mainfrom
EdSwarthout:main-fixes

Conversation

@EdSwarthout
Copy link

Older pip fails to install dependencies. Updating pip in preBuild resolves the issue.

AI-workbench suggests updating python base to 1.0.8, but doing this removes the custom chat app from spec.yaml.
Adding it back in with AI-workbench moves it to the execution: apps: section.

Fixes:

Successfully built tesseract langdetect antlr4-python3-runtime pypika
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
    status = run_func(*args)
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 389, in run
    to_install = resolver.get_installation_order(requirement_set)
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order
    weights = get_topological_weights(
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights
    assert len(weights) == expected_node_count
AssertionError
ERROR: process "/bin/bash -c pip install --user     -r /opt/project/build/requirements.txt" did not complete successfully: exit code: 2
- Updated Base Environment to 'nvidia/ai-workbench/python-basic:1.0.8'

Note: Update removed chatui from custom webapps
- Created app 'chat'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant