<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>There is also the ucs-2 versus ucs-4 binary incompatibility. Though that one usually shows up when you call, not when you bind. But then again, I have only kicked that off on unix. On windows it might show up on bind. Not sure. Does numpy import when run from the exact python you are using <a href="http://python.net">python.net</a> with? <br><br>Sent from my iPad</div><div><br>On Nov 2, 2012, at 10:48 PM, "Stephen P. Lepisto" <<a href="mailto:stephenp@otakuworld.com">stephenp@otakuworld.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
Make sure you are installing the correct "bitness" of numpy for your
install of python (64-bit to 64-bit, 32-bit to 32-bit).<br>
<br>
<div class="moz-cite-prefix">On 11/2/2012 8:42 AM, Bradley Friedman
wrote:<br>
</div>
<blockquote cite="mid:26A07ED1-67F7-41AA-B019-A199743C4857@fie.us" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>That error suggests issues with your path or current
directory. Multiple or incompatible dynamic libraries etc. in
the path. Generally speaking, pythonnet does work with numpy.
Something specific is wrong, loading a dll in a low level
manner that msvc is upset. <br>
<br>
Sent from my iPad</div>
<div><br>
On Nov 2, 2012, at 10:55 AM, John Burkhart <<a moz-do-not-send="true" href="mailto:jfburkhart.reg@gmail.com">jfburkhart.reg@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>Hello,
<div><br>
</div>
<div>As mentioned in the other thread, I have built pythonnet
with VS2012 for a 64-bit Python installation and using .NET
4 assemblies. Things seem to work well.</div>
<div><br>
</div>
<div>
<div>However, I just tried to `import numpy` and all hell
broke loose... the reason I pursued pythonnet was because
I thought it would allow me to use the pure CPython
modules without needing to rely on any of the modified
versions built for IronPython. Below is the PowerShell
output from starting EPD and importing numpy and starting
pythonnet python.exe and importing numpy.<br>
</div>
</div>
<div><br>
</div>
<div>
<div>
<div>PS
G:\svn\Python\pythonnet\trunk\pythonnet\src\console\bin\Debug>
python #should load EPD python<br>
</div>
<div>Enthought Python Distribution -- <a moz-do-not-send="true" href="http://www.enthought.com">www.enthought.com</a></div>
<div>Version: 7.3-2 (64-bit)</div>
<div><br>
</div>
<div>Python 2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 12
2012, 15:20:16) [MSC v.1500 64 bit (AMD64)] on win32</div>
<div>Type "credits", "demo" or "enthought" for more
information.</div>
<div>>>> import numpy; print numpy.__version__</div>
<div>1.6.1</div>
<div>>>> exit()</div>
<div>PS
G:\svn\Python\pythonnet\trunk\pythonnet\src\console\bin\Debug>
.\python.exe</div>
<div>Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC
v.1500 64 bit (AMD64)] on win32</div>
<div>Type "help", "copyright", "credits" or "license" for
more information.</div>
<div>>>> import numpy</div>
</div>
</div>
<div>[Bang!] - A window opens with</div>
<div>TITLE: Microsoft Visual C++ Runtime Library</div>
<div>Message: Runtime Error!</div>
<div><br>
</div>
<div>Program: G:\svn\Python...</div>
<div><br>
</div>
<div>R6034</div>
<div>An application has made an attempt to load the C runtime
library incorrectly</div>
<div>Please contact the application's support team for more
information</div>
<div>"""</div>
<div><br>
</div>
<div>This is not a lot of information, but maybe someone has
some ideas on how to troubleshoot?</div>
<div><br>
</div>
<div>Thank you,</div>
<div>john</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_________________________________________________</span><br>
<span><a moz-do-not-send="true" href="http://Python.NET">Python.NET</a>
mailing list - <a moz-do-not-send="true" href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a></span><br>
<span><a moz-do-not-send="true" href="http://mail.python.org/mailman/listinfo/pythondotnet">http://mail.python.org/mailman/listinfo/pythondotnet</a></span></div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________
<a href="http://Python.NET">Python.NET</a> mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/pythondotnet">http://mail.python.org/mailman/listinfo/pythondotnet</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Stephen P. Lepisto
</pre>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________</span><br><span><a href="http://Python.NET">Python.NET</a> mailing list - <a href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a></span><br><span><a href="http://mail.python.org/mailman/listinfo/pythondotnet">http://mail.python.org/mailman/listinfo/pythondotnet</a></span></div></blockquote></body></html>