Error "mach-o, but wrong architecture" after installing anaconda on mac
<p>I am getting an architecture error while importing any package, i understand my Python might not be compatible, can't understand it.
Current Python Version - 2.7.10</p>

<blockquote>
  <p>`MyMachine:desktop *********$ python pythonmath.py
  Traceback (most recent call last):
    File "pythonmath.py", line 1, in 
      import math
  ImportError: dlopen(/Users/*********/anaconda/lib/python2.7/lib-dynload/math.so, 2): no suitable image found.  Did find:
      /Users/**********/anaconda/lib/python2.7/lib-dynload/math.so: mach-o, but wrong architecture
  MyMachine:desktop ***********$ python pythonmath.py
  Traceback (most recent call last):
    File "pythonmath.py", line 1, in 
      import math
  ImportError: dlopen(/Users/anaconda/lib/python2.7/lib-dynload/math.so, 2): no suitable image found.  Did find:
      /Users/***********/anaconda/lib/python2.7/lib-dynload/math.so: mach-o, but wrong architecture</p>
</blockquote>