title: Trouble importing module in Python 2.7
body: <p>My Mac computer has Python 3.6 and Python 2.7 and I have successfully installed the basic modules such as numpy, scipy and matplotlib, for example, by doing the routine pip install and pip3 install. My Python 3.6 works totally well in Anaconda-Jupiter-Notebook, IDLE and Terminal, while Python 2.7 works only in terminal but not in IDLE.</p>
  
  <p><a href="https://i.stack.imgur.com/Rz7tp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rz7tp.png" alt="Terminal - OK"></a></p>
  
  <p><a href="https://i.stack.imgur.com/jSXT7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jSXT7.png" alt="enter image description here"></a></p>
  
  <p>Then for version check I tried </p>
  
  <pre><code>pip --version
  </code></pre>
  
  <p>Returning: 
  pip 10.0.1 from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip (python 2.7)</p>
  
  <pre><code>pip3 --version
  </code></pre>
  
  <p>Returning:
  pip 10.0.1 from /Users/son520804/anaconda3/lib/python3.6/site-packages/pip (python 3.6)</p>
  
  <p>Then, </p>
  
  <pre><code>which python2
  </code></pre>
  
  <p>Returning:
  /Library/Frameworks/Python.framework/Versions/2.7/bin/python2</p>
  
  <pre><code>which pip2
  </code></pre>
  
  <p>Returning:
  /Library/Frameworks/Python.framework/Versions/2.7/bin/pip2</p>
  
  <p>How could I resolve this issue and enable the Python 2.7 idle to import the modules? Much appreciated for your help.</p>