I have python and numpy compiled fine with prefix, but python failed to load numpy. Reproducible: Always Steps to Reproduce: 1. emerge python && emerge numpy 2. python -c "import numpy" 3. Actual Results: Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/John/i386-darwin-10.3/devel/lib/python2.6/site-packages/numpy/__init__.py", line 132, in <module> import add_newdocs File "/Users/John/i386-darwin-10.3/devel/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in <module> from lib import add_newdoc File "/Users/John/i386-darwin-10.3/devel/lib/python2.6/site-packages/numpy/lib/__init__.py", line 4, in <module> from type_check import * File "/Users/John/i386-darwin-10.3/devel/lib/python2.6/site-packages/numpy/lib/type_check.py", line 8, in <module> import numpy.core.numeric as _nx File "/Users/John/i386-darwin-10.3/devel/lib/python2.6/site-packages/numpy/core/__init__.py", line 5, in <module> import multiarray ImportError: No module named multiarray Expected Results: python should import numpy module sucessfully - Apple's python (/usr/bin/python) imports numpy just fine - Platform detail: MacOS X Snow Leopard
FYI: works on amd64-linux
My bad, looking at the path, I realized that I had a stale version of numpy in "/Users/John/i386-darwin-10.3/devel/". Delete that version solved the problem.