how to solve (*** Mininet must run as root.) in pycharm?

こ雲淡風輕ζ 提交于 2020-03-04 04:34:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!