Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330321 - dev-python/numpy: python fails to load multiarray
Summary: dev-python/numpy: python fails to load multiarray
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 08:55 UTC by Duong Dang
Modified: 2010-07-30 07:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duong Dang 2010-07-29 08:55:27 UTC
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
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-07-29 16:21:50 UTC
FYI: works on amd64-linux
Comment 2 Duong Dang 2010-07-30 07:23:49 UTC
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.