Skip to content

Conversation

@olupton
Copy link
Collaborator

@olupton olupton commented Oct 28, 2024

No description provided.

@olupton olupton force-pushed the olupton/bump-cuda-and-ubuntu branch from e92ba7e to 1119f84 Compare October 28, 2024 17:26
@gpupuck
Copy link
Contributor

gpupuck commented Oct 28, 2024

What's the motivation to create a venv?

@olupton
Copy link
Collaborator Author

olupton commented Oct 28, 2024

What's the motivation to create a venv?

With the Python we pick up in Ubuntu 24.04, it will not allow pip install to system-wide directories without --break-system-packages or an explicit prefix.
If we use an explicit prefix (e.g. install pip-versioned software to /usr/local with Ubuntu-managed software in /usr), pip uninstall still complains (and build-jax.sh does that).

It's just a proposal, but explicitly separating the pip-managed software in /opt/venv doesn't seem unreasonable.

@hmonishN
Copy link
Contributor

You can also try PIP_BREAK_SYSTEM_PACKAGES=1 env var to fix this. We did the same and also DLFW teams as well.

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.

4 participants