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

arch.sh: switch permissions of pip install (again) #13179

Merged
merged 1 commit into from
Oct 14, 2019
Merged

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Oct 14, 2019

after testing the right solution on a fresh installation

Describe problem solved by the proposed pull request
I tested it again on a fresh system and before c09ea2a there was the problem that python packages were installed under root and the normal user didn't have it in his path. After that the user doesn't have permissions to update binaries like pip, easy_install and wheel.

Describe your preferred solution
Now I fixed all these cases updating the binaries with sudo and installing the package requirements under the user (see https://dev.to/elabftw/stop-using-sudo-pip-install-52mn).

Test data / coverage
Tested on the go on a fresh install.

Additional context
#13111
#13160

@MaEtUgR MaEtUgR added bug Tools Sub-tools used within PX4 ecosystem (scripts, etc) labels Oct 14, 2019
@MaEtUgR MaEtUgR requested a review from julianoes October 14, 2019 09:29
@MaEtUgR MaEtUgR self-assigned this Oct 14, 2019
Tools/setup/arch.sh Outdated Show resolved Hide resolved
Tools/setup/arch.sh Show resolved Hide resolved
after testing the right solution on a fresh installation
@dagar dagar merged commit 7e2fb6b into master Oct 14, 2019
@dagar dagar deleted the arch-pip-user branch October 14, 2019 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Tools Sub-tools used within PX4 ecosystem (scripts, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants