title: No module named 'sklearn' after installing sklearn
body: <p>some package that I install in my machine (mac os) doesn't install properly </p>
  
  <p>for example, I tried to install <a href="https://scikit-learn.org/stable/" rel="nofollow noreferrer">sklearn</a> by writing:</p>
  
  <pre><code>sudo pip3 install -U scikit-learn
  </code></pre>
  
  <p>but when I use it in my code it doesn't run and throw this error </p>
  
  <blockquote>
    <p>ModuleNotFoundError: No module named 'sklearn'</p>
  </blockquote>
  
  <p>and the interesting part is it works on IPython shell and doesn't throw the error</p>
  
  <p>what is the problem? how can I solve it?</p>