title: Pycharm environment different than command line
body: <p>I am having an issue getting my Pycharm environment to match up with the environment that I have on the command line.  I recently removed python and reinstalled it via home brew.  The python in my path is pointing to <code>/usr/local/bin/python</code> I added <code>PATH=/usr/local/bin:$PATH</code> to the beginning of my .bash_profile file and I can execute the following code just fine in the interperter on the command line.  However, when I add <code>/usr/local/bin/python</code> to the project python interpreters and run the below code I get the attribute error.  Can anyone shed some light on how I can get Pycharm to use the same environment as my command line?</p>
  
  <pre><code>import sqlite3
  db = "mydb.db"
  conn = sqlite3.connect(db)
  conn.enable_load_extension(True)
  </code></pre>
  
  <blockquote>
    <p>AttributeError: 'sqlite3.Connection' object has no attribute 'enable_load_extension'</p>
  </blockquote>