2011-05-10 4 views
1

Mac에 numpy 1.5.1, numexpr 1.4.2 및 PyTables 2.2.1을 내장했으며 다음 오류가 발생합니다. 나는 그것을 찾았지만 누군가가이 특정 오류를 언급하고 아무런 해결책도 찾지 못한 곳이 단 한 곳 밖에 없었다.Mac에서 PyTables를 실행할 때 발생하는 문제

누구나 이것이 의미하는 것을 알고 있습니까?

감사합니다, 데이브 잘

Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import numpy 
>>> numpy.__version__ 
'1.5.1' 
>>> numpy.__file__ 
'/Applications/.../__init__.pyc' (i.e., where I put it) 
>>> import tables 
RuntimeError: module compiled against API version 6 but this version of numpy is 4 
Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
    File "/Applications/VORPAL/VORPAL/Python/Extras/lib/python/tables/__init__.py", line 63, in <module> 
    from tables.utilsExtension import getPyTablesVersion, getHDF5Version 
ImportError: numpy.core.multiarray failed to import 

답변

1

, 나는 멀리 모든 불고 정리 빌드를 만들어 내 문제를 해결할 수 있었다. 그래서 나는 그 문제가 무엇인지 정확히 모르겠다.하지만 필자는 어쨌든 버전을 뒤섞어 놓았을 것임에 틀림 없다.

관련 문제