<div dir="ltr">multiarray is an extension module that lives within numpy/core, that is, when, "import multiarray" is called, (and it's the first imported extension module in numpy), multiarray.ext (ext being dll on Windows I guess), gets dynamically loaded.<div>
<br></div><div style>"No module named multiarray" is indicating problems with your freeze setup.  Most of these tools don't support locally imported extension modules.</div><div style><br></div><div style>Does this help you get oriented on your problem?</div>
<div style><br></div><div style>A</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 12, 2013 at 1:01 PM, Dinesh B Vadhia <span dir="ltr"><<a href="mailto:dineshbvadhia@hotmail.com" target="_blank">dineshbvadhia@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>



<div style="PADDING-LEFT:10px;PADDING-RIGHT:10px;PADDING-TOP:15px" name="Compose message area">
<div><font size="4" face="Garamond">I've been using Numpy/Scipy for >5 years so 
know a little on how to get around them.  Recently, I've needed to either 
freeze or create executables with tools such as PyInstaller, Cython, Py2exe and 
others on both Windows (XP 32-bit, 7 64-bit) and Ubuntu (12.04) Linux 
(64-bit).  </font><font size="4" face="Garamond">The test program (which runs 
perfectly with the Python interpreter) is very simple:</font></div>
<div><font size="4" face="Garamond"></font> </div>
<div><font size="4" face="Garamond">import numpy</font></div>
<div><font size="4" face="Garamond"></font> </div>
<div><font size="4" face="Garamond">def main():<br>    print 
numpy.array([12, 23, 34, 45, 56, 67, 78, 89, 90])<br>    
return<br>    <br>if __name__ == 
'__main__':<br>    main()</font></div>
<div><font size="4" face="Garamond"></font> </div>
<div><font size="4" face="Garamond">The software versions are Python 2.7.3, Numpy 
1.7.0, and Scipy 0.11.  The "import numpy" causes an "ImportError: No 
module named multiarray".  </font><font size="4" face="Garamond">After endless 
Googling, I am none the wiser about what (really) causes the ImportError let 
alone what the solution is.  The Traceback, similar to others found on the 
web, is:</font></div>
<div><font size="4" face="Garamond"></font> </div>
<div><font size="4" face="Garamond">Traceback (most recent call last):<br>  
File "test.py", ...<br>  File 
"C:\Python27\lib\site-packages\numpy\__init__.py", line 154, in 
<module><br>    import add_newdocs<br>  File 
"C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in 
<module><br>    from numpy.lib import add_newdoc<br>  
File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 4, in 
<module><br>    from type_check import *<br>  File 
"C:\Python27\lib\site-packages\numpy\lib\type_check.py", line 8, in 
<module><br>    import numpy.core.numeric as _nx<br>  
File "C:\Python27\lib\site-packages\numpy\core\__init__.py", line 5, in 
<module><br>    import multiarray<br>ImportError: No module 
named multiarray.</font></div>
<div><font size="4" face="Garamond"></font> </div>
<div><font size="4" face="Garamond">Could someone shed some light on this - 
please?  Thx.</font></div>
<div><font size="4" face="Garamond"></font> </div></div>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>