title: Cannot import library in notebook
body: <p>I'm running a jupyter notebook in a virtual environment. I cannot import some of the libraries that are installed in the env, and I can't figure out what is wrong.</p>
  <p>What I do is cd into the project folder, and start the virtual environment, then start jupyter lab:</p>
  <pre><code>cd code
  source env/bin/activate
  jupyter lab
  </code></pre>
  <p>But then I cannot import the libraries installed specifically in the env, example</p>
  <p><a href="https://i.stack.imgur.com/8FF7Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8FF7Y.png" alt="enter image description here" /></a></p>
  <p>But in a python interpreter in the same folder, same env I can import the same library without problem</p>
  <p><a href="https://i.stack.imgur.com/RtmZE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RtmZE.png" alt="enter image description here" /></a></p>
  <p>How can I find the reason for the problem?</p>