title: Import a module in another directory python3
body: <p>So I checked all other similar questions and this won't be a duplicate I believe.</p>
  <p>I have this CMake library called <a href="https://github.com/rdeits/iris-distro" rel="nofollow noreferrer">iris-distro</a> that I want to be able to use anywhere in my system. it's basically a c++ library with python bindings (a Python interface). currently, after the build, I can only run programs inside build/install/lib/pythonX.X/dist-packages.</p>
  <p>I am trying to write a simple python code that uses the python interface from another directory and adding the following to the file.</p>
  <pre><code>import sys
  sys.path.insert(0,'home/shehabeldin/iris-distro/build/install/lib/python3.6/dist-packages')
  </code></pre>
  <p>However, that doesn't seem to work and still gives me the error no module named irispy.</p>
  <p>Thank you in advance</p>