Skip to content

Update Using-Python-Packages.rst instructions for virtual environments #5800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: rolling
Choose a base branch
from

Conversation

marinarasauced
Copy link

Description

Current instructions for running Python nodes using virtual environments informs users to create a venv in a Colcon workspace, pip install the packages, and then run colcon build. However, these instructions appear outdated when testing using at least Humble, Jazzy, and Kilted.

The suggested changes provide current instructions for running Python nodes using virtual environments.

Creating the virtual environment with the --system-site-packages option works as a replacement for manually installing several system packages needed by ROS, but is not favorable in case of dependency conflicts.

Did you use Generative AI?

No

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