Skip to content Skip to sidebar Skip to footer

ImportError: : Symbol Not Found: __PyErr_ReplaceException

I use homebrew install python 2.7.10 and usr/local/bin/python is linked to the python 2.7.10. But when I run my python code, an exception occurs as below. But when I use IPython im

Solution 1:

Try downgrading your Python from 2.7.10 to 2.7.9, for example:

brew switch python 2.7.9

by overriding the existing one, as it seems there is some particular problem with 2.7.10.

For conda, try: conda install python=2.7.9 (as per this).

Also double check your PYTHONPATH variable if it's not overridden anywhere.

Alternatively consider using Python 3 instead.


Post a Comment for "ImportError: : Symbol Not Found: __PyErr_ReplaceException"