Skip to content
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

Update installation instructions to mention conda and force users to use venv on apt #45

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

traversaro
Copy link
Member

Fix #40 .

Main modifications:

  • On apt, always show installation inside a venv. Installing with a naked pip install outside of an environment may install a too recent numpy, idyntree or scipy on ~/.local or even worse /usr/local, that could interfere with apt packages or the robotology-superbuild. Let's just keep default options (that users not familiar with Python just copy&paste blindly) safe. More advanced users will know what to do if needed.
  • Mention the newly created urdf-modifiers conda package (added in Add grayskull-generated recipe for urdf-modifiers Python package conda-forge/staged-recipes#28004)

fyi @CarlottaSartore @Nicogene @claudia-lat @GiulioRomualdi

README.md Outdated Show resolved Hide resolved

pip install urdf-modifiers

sudo apt install python3 python3-venv python3-pip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is python3-pip required?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After we created the venv, we install the python package with pip install, so it is required there (unless I am missing something in the question).

@Nicogene Nicogene merged commit e7dc050 into master Oct 31, 2024
6 checks passed
@Nicogene Nicogene deleted the traversaro-patch-2 branch October 31, 2024 16:40
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.

Unable to install urdf-modifiers using installation instructions
3 participants