Interesting finding...<div><br></div><div>I just uninstalled EPD (Enthought Python Distribution) and installed vanilla Python 2.7</div><div><br></div><div>So far it seems all is working.</div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Oct 30, 2012 at 9:39 PM, Thomas Stanley-Jones <span dir="ltr"><<a href="mailto:tstanleyjones@gmail.com" target="_blank">tstanleyjones@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I also tried to build on a 64bit Windows 7 machine and was not able to make it work consistently.  I was told that the issue was with the version of VS that I used to build PythonNet.  I am not knowledgeable in this area however, and could not figure out how to get it to work consistently.  I was trying to use it with a distribution of CPython 2.6 (which caused me the most trouble) and CPython 2.7.  I stopped working on it as I could only get 2.7 to see the PythonNet module.  I'm curious what answers you come up with as I would still love to get this to work on my machine.<div>


<br></div><div>Thomas<br><br><div class="gmail_quote"><div><div class="h5">On Tue, Oct 30, 2012 at 7:19 AM, John Burkhart <span dir="ltr"><<a href="mailto:jfburkhart.reg@gmail.com" target="_blank">jfburkhart.reg@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hello,<div><br></div><div>I'm new to .NET and just trying to make available a few .NET dll files for an application I would *like* to build in CPython. I'm trying to use pythonnet for the task as I would prefer not to use IronPython. I have Python 2.7 installed on a 64bit Windows 7 PC. </div>



<div><br></div><div>I have managed to get the latest svn version, confirmed required changes according to:</div><div><a href="http://blog.bidiuk.com/2011/01/python-net-and-vs2010-net-4/" target="_blank">http://blog.bidiuk.com/2011/01/python-net-and-vs2010-net-4/</a></div>



<div><br></div><div>were made. Though, it seemed most were no longer necessary in the latest SVN version.</div><div><br></div><div>I also changed the Conditional Compilation symbols to: PYTHON27,UCS2 under the Python.Runtime, Properties->Build tab.</div>



<div><br></div><div>I rebuilt the entire solution, and all compiled with no errors.</div><div><br></div><div>However, I get the following when I try to run Python.exe:</div><div><div><br></div><div>PS G:\svn\Python\pythonnet\trunk\pythonnet\src\console\bin\Debug> .\python.exe</div>



<div>ImportError: No module named site</div><div>PS G:\svn\Python\pythonnet\trunk\pythonnet\src\console\bin\Debug></div></div><div><br></div><div>Does anyone have experience building pythonnet for Python 2.7 and .NET 4?</div>



<div><br></div><div>Thank you in advance,</div><div>john</div>
<br></div></div>_________________________________________________<br>
Python.NET mailing list - <a href="mailto:PythonDotNet@python.org" target="_blank">PythonDotNet@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pythondotnet" target="_blank">http://mail.python.org/mailman/listinfo/pythondotnet</a><br></blockquote></div><br></div>
</blockquote></div><br></div>