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

Support virtual environment for python #6155

Open
Ryanf55 opened this issue Aug 1, 2024 · 3 comments
Open

Support virtual environment for python #6155

Ryanf55 opened this issue Aug 1, 2024 · 3 comments

Comments

@Ryanf55
Copy link
Contributor

Ryanf55 commented Aug 1, 2024

Request

Can we have the wiki setup work in a python virtual environment?

#358 (comment)

I'm having issues with the flake8 install hosing my ROS 2 install which has flake8 installed as a debian.

Expected behavior

python3 -m venv .venv
source .venv/bin/activate
./Spinxsetup.sh
python3 update.py --site dev

Actual behavior

python3 -m venv .venv
source .venv/bin/activate
./Spinxsetup.sh
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
@Hwurzburg
Copy link
Contributor

not sure who can work on this

@Ryanf55
Copy link
Contributor Author

Ryanf55 commented Aug 1, 2024

At least the issue is filed. Maybe someone will have time to solve it. I manually installed things instead of using the script so I can work in the wiki.

@khancyr
Copy link
Contributor

khancyr commented Aug 1, 2024

Ok that is just a matter of removing the --user when inside a venv. Patch should be simple, can do it tonight

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

No branches or pull requests

3 participants