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

purge all useage of "sudo" wherever possible... #71

Closed
AustEcon opened this issue Nov 2, 2020 · 1 comment
Closed

purge all useage of "sudo" wherever possible... #71

AustEcon opened this issue Nov 2, 2020 · 1 comment
Assignees

Comments

@AustEcon
Copy link
Contributor

AustEcon commented Nov 2, 2020

I found a workaround for the issue where I was unable to install the sdk without sudo priviledges:

By adding:

site.ENABLE_USER_SITE = "--user" in sys.argv[1:]

to the top of setup.py
ref: pypa/pip#7953

Whatever it takes really - need to find a way for obvious reasons. I can also remove the virtualenvironment setup for linux when this is solved (which was only there as a band-aid for this issue)

@AustEcon AustEcon self-assigned this Nov 2, 2020
@AustEcon
Copy link
Contributor Author

current status with this: have purged all sudo usage for python but for dotnet was having issues with file permissions and requiring sudo for various dotnet tooling etc. on linux... (bare metal).

I found "snap" the best user experience personally... but if I am able to work out a reproducible way of configuring it (+ IDE etc.) then will drop the 'sudo' command as soon as possible. (it would actually make pipelines and docker usage easier 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

No branches or pull requests

1 participant