title: Python3: ModuleNotFoundError: No module named 'coinbase' on Mac OSX High Sierra v 10.13.3
body: <p><strong>EDIT APPENDED</strong></p>
  
  <p>Let me preface by saying: I've read through the suggested articles relating to "ModuleNotFound" error, and a number of "set path permanently mac osx" articles from searching.</p>
  
  <p>My goal: use the Coinbase Python library on Mac OSX v 10.13.3</p>
  
  <p>Issue: <code>ModuleNotFoundError: No module named 'coinbase'</code></p>
  
  <p>Current Configuration:</p>
  
  <p><code>echo $path</code> results in <code>/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/lib/python3.6/site-packages:</code></p>
  
  <p>`ls</p>
  
  <p><code>$ pip3 install coinbase</code> results in <code>Requirement already satisfied: coinbase in /usr/local/lib/python3.6/site-packages</code></p>
  
  <p>And finally: 
  <a href="https://i.stack.imgur.com/YJaB0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YJaB0.png" alt="Importing coinbase to Python"></a></p>
  
  <p>Note: I can <code>&gt;&gt;&gt;import coinbase</code> if I launch Python from <code>/usr/local/lib/python3.6/site-packages</code> like:</p>
  
  <pre><code>$ cd /usr/local/lib/python3.6/site-packages
  $ python3
  .......
  &gt;&gt;&gt; import coinbase
  </code></pre>
  
  <p>Here are the results of <code>ls /usr/local/lib/python3.6/site-packages</code>
  <a href="https://i.stack.imgur.com/TrlbZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TrlbZ.png" alt="enter image description here"></a></p>
  
  <p>========================================================================
  EDIT 1:</p>
  
  <p><code>pip show coinbase</code> yields <code>Location: /Library/Python/2.7/site-packages</code>
  whereas <code>pip3 show coinbase</code> yields <code>Location: /usr/local/lib/python3.6/site-packages</code></p>
  
  <p>I used <code>python3 -m site</code> to get the following.  So now my question is: how do I configure pip3 to install to the correct location (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6)?</p>
  
  <p><a href="https://i.stack.imgur.com/12z20.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/12z20.png" alt="enter image description here"></a></p>