Python(v2.7)
에서 IronPython
으로 코드를 포팅하여 실험실 컴퓨터에서 처리 할 수있는 여러 코어를 활용할 수 있습니다. https://www.enthought.com/repo/.iron/
나는 또한에 주어진 마지막 명령을 시도 : 여기에 주어진 지침에 따라 패키지 numpy
및 scipy
그럼 내가 설치 http://ironpython.net/
scipy를 가져올 수 없지만 IronPython에서 numpy를 가져올 수 있습니다.
(또는 적어도 내가 생각) :
나는 처음부터 IronPython
설치 페이지 (> ipy -X:Frames -c "import scipy"
)와 명령 프롬프트가 오류를 내지 않았기 때문에 모든 것이 잘되었다고 가정했습니다.
이상하게도 numpy
을 가져올 수 있지만 가져올 수 없습니다. scipy
. 다음은 내가받는 오류 메시지입니다.
IronPython 2.7.4 (2.7.0.40) on .NET 4.0.30319.18444 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> np.pi
3.141592653589793
>>> import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\scipy\__init__.p
y", line 124, in <module>
File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\numpy\_import_to
ols.py", line 15, in __init__
AttributeError: 'module' object has no attribute '_getframe'
무엇이 있습니까? Google에서 AttributeError: 'module' object has no attribute '_getframe'
을 검색했지만 내 문제에 대한 해결책을 찾을 수 없었습니다.
시도해보기 -X : 전체 프레임입니다. –