3

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 ?

Sana'a Ala'a
  • 163
  • 2
  • 10

1 Answers1

3

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
d_kennetz
  • 5,219
  • 5
  • 21
  • 44