1
我是新來的Python。我使用的是XP,我下載了Python 2.7.2和Python_meep 1.4.2,我正在嘗試使用它。 (我把他們都在同一方向)如何使用Python-meep?
如果我嘗試使用Python的MEEP的一些樣品例如use_averaging我得到了一個錯誤:
Traceback (most recent call last):
File "D:\Python\samples\use_averaging.py", line 7, in <module>
from meep import *
File "D:\Python\lib\meep.py", line 25, in <module>
_meep = swig_import_helper()
File "D:\Python\lib\meep.py", line 17, in swig_import_helper
import _meep
ImportError: No module named _meep
,當我試圖在導入MEEP殼牌通過鍵入import meep
我得到這個errror:
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
import meep
File "D:\Python\lib\meep.py", line 25, in <module>
_meep = swig_import_helper()
File "D:\Python\lib\meep.py", line 17, in swig_import_helper
import _meep
ImportError: No module named _meep
可一些身體告訴我如何使用此MEEP與Python?