title: Trying to import python modules returns ModuleNotFound Error
body: <p>Im attempting to use the numpy module in webots but whatever I try I always get</p>
  
  <pre><code>INFO: assignment_2_controller_2: Starting controller: python3.6 -u "assignment_2_controller_2.py" 
  [assignment_2_controller_2] Traceback (most recent call last):
  [assignment_2_controller_2]   File "assignment_2_controller_2.py", line 4, in &lt;module&gt;
  [assignment_2_controller_2]     import numpy
  [assignment_2_controller_2] ModuleNotFoundError: No module named 'numpy'
  WARNING: 'assignment_2_controller_2' controller exited with status: 1.
  </code></pre>
  
  <p>I have installed numpy with both pip2 and pip3 and neither seem to have made any difference and the package shows up in <code>~/.local/lib/python3.6/site-packages</code>. I can also confirm that this module works in the python editor and in other python files.
  Is there perhaps something I need to change in webots python Makefile or perhaps in my environment variables?</p>
  
  <p><strong>Edit:</strong>
  Printing sys.path shows</p>
  
  <pre><code>'/snap/webots/14/usr/share/webots/lib/controller/python36', '/snap/webots/14/usr/lib/python36.zip', '/snap/webots/14/usr/lib/python3.6', '/snap/webots/14/usr/lib/python3.6/lib-dynload', '/snap/webots/14/usr/lib/python3/dist-packages'
  </code></pre>
  
  <p>I installed webots using snap but why wouldnt it use the python dictated by the PATH environment variable?</p>
  
  <p><strong>Fix</strong>:
  By the looks of it snap creates a contained filesystem for webots to run in by design in which it installed its own python binaries. I therefore uninstalled webots with snap and then installed from the .deb file off their website and now it works fine.</p>