title: Error while trying to run a code in mininet environment "Import Error,no module named mininet"
body: <p>I have installed mininet in my /home/user directory and my .py script to be run in /home/user/EE297B/ directory and also created a venv project file using PyCharm in /home/user/EE297B/ directory and try to run the .py code in there and I get the error import module mininet not found.I tried adding the path /home/user/mininet to sys.path of python as referenced by other similar questions on this portal.But I am still getting the same error.Some help is highly appreciated.</p>
  
  <p>import error no module named mininet</p>
  
  <p><img src="https://i.stack.imgur.com/Yrf8W.png" alt=""></p>