Timeline for How do I use sudo with python inside virtualenvironment
Current License: CC BY-SA 4.0
Post Revisions
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 31, 2021 at 11:53 | comment | added | sinoroc |
Very often, activating the virtual environment is not necessary. Have you tried something like sudo path/to/venv/bin/python somescript.py?
|
|
| May 10, 2020 at 17:06 | answer | added | CristiFati | timeline score: 7 | |
| May 10, 2020 at 17:01 | answer | added | Niklas | timeline score: 1 | |
| May 10, 2020 at 17:01 | comment | added | Robert Kearns | Why does your Python script need sudo privileges? | |
| May 10, 2020 at 16:57 | comment | added | Skrasa | I am using venv I created the environment with this command python3 -m venv ‘Name‘ | |
| May 10, 2020 at 16:54 | comment | added | Mike | You need to install the correct version of python in your virtual env. Are you using Conda for your enviroments or something else? | |
| May 10, 2020 at 16:52 | history | asked | Skrasa | CC BY-SA 4.0 |