title: ApplePersistenceIgnoreState error, started just after wxPython installation
body: <p>I'm trying to test some PsychoPy code on a Mac, but I couldn't import a key module because I didn't have wxPython installed. I installed wxPython using Homebrew, which said:</p>
  
  <pre><code>Python modules have been installed and Homebrew's site-packages is not
  in your Python sys.path, so you will not be able to import the modules
  this formula installed. If you plan to develop with these modules,
  please run:
     mkdir -p /Users/noahsilbert/.local/lib/python2.7/site-packages
     echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' &gt;&gt; /Users/noahsilbert/.local/lib/python2.7/site-packages/homebrew.pth
  </code></pre>
  
  <p>So I did, and now IPython is giving me the following error, and I cannot figure out what's triggering it:</p>
  
  <pre><code>2015-12-29 11:20:17.850 python[5040:855441] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/vm/851b53f57ql7tsx_jjpltblh0000gn/T/com.continuum.python.savedState
  </code></pre>
  
  <p>I found <a href="https://stackoverflow.com/questions/18733965/annoying-message-when-opening-windows-from-python-on-os-x-10-8/21567601">this question</a>, and it looks like I could try this as a solution:</p>
  
  <pre><code>$ defaults write org.python.python ApplePersistenceIgnoreState NO
  </code></pre>
  
  <p>Since I don't totally understand what this does, I'm a bit worried that this could cause other problems. Ultimately, I still can't get the PsychoPy code working on my computer, so I would, I think, prefer to undo the instructions that Homebrew gave me to put its site-packages in my Python sys.path, but I'm not sure how to do this. The <a href="https://docs.python.org/2/library/site.html" rel="nofollow noreferrer"><code>site</code> module documentation</a> isn't giving me an obvious solution, so any help would be appreciated.</p>
  
  <p>Is there an easy way to undo the Homebrew instructions? Should I just try the <code>defaults write</code> command?</p>
  
  <p>I'm using the Anaconda scientific Python installation on El Capitan, for what it's worth.</p>