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

Use python virtual environment over sudo #119

Closed
philipmat opened this issue Sep 5, 2020 · 2 comments
Closed

Use python virtual environment over sudo #119

philipmat opened this issue Sep 5, 2020 · 2 comments
Labels
Milestone

Comments

@philipmat
Copy link
Owner

The README recommends using sudo to install modules. It would be safer and easier to use python environments.

The modules could then be installed without the need to run as root or have elevated permissions.

@philipmat philipmat added the doc label Sep 5, 2020
@philipmat philipmat added this to the v2.1 milestone Sep 5, 2020
@ijabz
Copy link
Collaborator

ijabz commented Sep 6, 2020

Not sure I agree this helps.
My problems with Python were not that I need to run multiple different environments, my version of Linux was simply to old to easily update to the required version of Python, e.g. few program that work with 3.4.3 will fail if update to 3.6.9

If you need to install newer version of python then you'll need to have elevated permissions anyway.

@philipmat
Copy link
Owner Author

@ijabz - it helps on machines that meet the minimum 3.6 requirement because it no longer requires sudo privileges, thus enabling an easier and more secure module install.

There's nothing keeping one from installing the modules in the system space, using sudo, if they do choose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants