-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Closed
Documentation
Copy link
Labels
awaiting responseThis expects a response from maintainer or contributor depending on who requested in last comment.This expects a response from maintainer or contributor depending on who requested in last comment.docImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
Copies of cuopt Python dependencies (direct or indirect) in ~/.local/lib/pythonX.X/site-packages can cause build failures of the Python components for cuopt because Python will find these first before finding packages in the current conda environment.
The errors can be difficult to understand, for example an error in the ucxx package because it is referencing an attribute in the rmm package or subpackage which does not exist.
These errors persist even after creating a fresh conda environment and rebuilding. If this happens, then one likely cause is that there are conflicting packages under ~/.local/lib/pythonX.X/site-packages
How to repair:
- review and remove unneeded packages under ~/.local/lib
- create a new temporary user and try a build under that user or build on another system. If the problem persists, it is likely an upstream problem in the packages themselves. If the problem goes away, it is probably the ~/.local/lib.
- backup and remove ~/.local/lib completely (it can be restored later, or selected libraries can be restored as needed)
Metadata
Metadata
Assignees
Labels
awaiting responseThis expects a response from maintainer or contributor depending on who requested in last comment.This expects a response from maintainer or contributor depending on who requested in last comment.docImprovements or additions to documentationImprovements or additions to documentation