After updating to 3.1, PyCharm hangs forever (on OSX 10.9.1, Python 2.7.5) during the \"indexing\" of packages.
For me this occurs while indexing scipy
(0.1
This is what solved it for me:
On the main menu, choose File | Invalidate Caches/Restart . The Invalidate Caches message appears informing you that the caches will be invalidated and rebuilt on the next startup. Use buttons in the dialog to invalidate caches, restart IntelliJ IDEA or both.
My problem was probably that I added too many files to be indexes, and it overwhelmed PyCharm. So I marked the folders of the files I did not need indexed as "Excluded" and used the option above.