title: ImportError: No module named jupyter_core.command, path added with no issue persists
body: <p>This has been discussed before but today I am seeing it again in my new company and it is a bit different this time:</p>
  
  <p>I am doing a jupyter installation, first thing is I need to run the command to generate config file:</p>
  
  <pre><code>$ jupyter notebook --generate-config
  </code></pre>
  
  <p>I got error saying </p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File
    "/opt/cloudera/parcels/Anaconda/bin/jupyter", line 4, in 
        import jupyter_core.command ImportError: No module named jupyter_core.command</p>
  </blockquote>
  
  <p>I found a similar discussion <a href="https://community.cloudera.com/t5/Advanced-Analytics-Apache-Spark/jupyter-core-command/td-p/41800" rel="nofollow noreferrer">here</a>, following it solved same issue in my previous company (both Anaconda 2/3 installed) but not this new company(Anaconda 4).</p>
  
  <p>I suspect this relates to the needed library is missing, so I found the library's location and added it to $PATH</p>
  
  <pre><code>export PATH=$PATH:/opt/cloudera/parcels/Anaconda/pkgs/jupyter_core-4.2.0-py27_0/lib/python2.7/site-packages/
  </code></pre>
  
  <p>I ran the command again and the error persists.</p>
  
  <p>What am I missing here? should I run any magic Linux command after the export?</p>
  
  <p>Thank you very much.</p>