title: Jupyter notebook can not find installed module
body: <p>When started, Jupyter notebook encounters a problem with module import</p>
  
  <pre><code>import findspark
  ModuleNotFoundError                       Traceback (most recent call last)
  &lt;ipython-input-1-ff073c74b5db&gt; in &lt;module&gt;
  ----&gt; 1 import findspark
  
  ModuleNotFoundError: No module named 'findspark'
  </code></pre>
  
  <p>Conda list shows that module is here</p>
  
  <pre><code>filelock                  3.0.8                    py37_0  
  findspark                 1.3.0                      py_1    conda-forge
  flask                     1.0.2                    py37_1 
  </code></pre>
  
  <p>Python version</p>
  
  <pre><code>(myenv) mm@mm-HP-EliteBook-8560p:~$ python -V
  Python 3.6.8
  </code></pre>
  
  <p>It seems that my installation is not clean.
  Three Python lines from <code>.bash_profile</code></p>
  
  <pre><code>export PYENV_ROOT="$HOME/.pyenv"
  export PATH="$PYENV_ROOT/bin:$PATH"
  eval "$(pyenv init -)"
  </code></pre>
  
  <p>Why do I get import error?</p>