From: Sharma, G. <gir...@wu...> - 2016-03-08 18:22:58
|
Dear Massa, I understood what you are saying. Thank you for explaining it more clearly to a newbie. To analyse the problem: - read the file numpy\core\multiarray.py - check which file is imported in line 10 But, I could not find numpy\core\multiarray.py file in C:\Anaconda2\Lib\site-packages\numpy\core. Though I found multiarray.pyd file which I cannot open and see. which makes your error message rather suspicious. Anyway, multiarray.pyd is probably the binary file that is missing. Have you checked if it is copied into the build directory? Build directory has numpy\core\multiarray.pyc file. Dist directory has numpy\core\multiarray.pyd file. import sys import numpy.core import numpy.core.mutliarray Anyways, I imported them in my mainscript.py. The exe ran on my computer as usual. But on a different computer, it showed me a bit different error. Traceback (most recent call last): File "Moment_Final.py", line 4, in <module> File "numpy\__init__.pyc", line 180, in <module> File "numpy\add_newdocs.pyc", line 13, in <module> File "numpy\lib\__init__.pyc", line 8, in <module> File "numpy\lib\type_check.pyc", line 11, in <module> File "numpy\core\__init__.pyc", line 14, in <module> File "numpy\core\multiarray.pyc", line 12, in <module> File "numpy\core\multiarray.pyc", line 10, in __load ImportError: DLL load failed: The specified module could not be found. I am really not sure, what exactly am I missing. line 4 of the Moment_Final.py (which is my mainscript.py) is: import numpy.core Please help. |