问题
I'm completely new to Linux and Python. I want to run a mininet python test file using Pycharm but got the following error
*** Mininet must run as root.
How to solve this ?
回答1:
Become root!!! To run something as root, first you need root privileges, and then have a look at the sudo man page.
First see that you have this access:
sudo mn
If this works then ctrl+c
Then run it like:
sudo python miniedit.py
来源:https://stackoverflow.com/questions/57716386/how-to-solve-mininet-must-run-as-root-in-pycharm