Hi!
Can someone tell me how to set PYTHONPATH variable in code when working with Python.Runtime.dll without changing the value in the system variables before.
Thanks
SHARON
________________________________
PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any …
[View More]review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
[View Less]
Hello,
I'm looking for some help with how to get PythonNet working with ArcGIS
10.0.
I've been trying to get this to work for the past few days as it will be
very useful in accessing various objects of the program through Python.
I'm pretty new to these processes, but after a lot of mucking around
figured out how to get PythonNet to work on my 64bit machine with a 32bit
installation of Python 2.6, building it with VS2010 Express. I could
import clr with the normal Python console, and I …
[View More]could do the same with
PyScripter 2.6, but I couldn't get it to work with the Python console
provided with ArcMap, "dynamic module not initialized properly". Somebody
thought it was because of a manifest with the module but I think I've
confirmed that isn't it. It seems that it comes down to an issue with the
version of Visual Studio I'm using to build the PythonNet solution, but
after using VS2008 Express, importing clr only works in the normal Python
console and not in PyScripter anymore (or in ArcMap).
I don't have a very good understanding of what I'm doing to this or that,
but if any of you could give me an idea of what to look for next, I would
very much appreciate it.
By the way, to get the build to work with my machine I'm forcing the
project to build using x86 rather than ANY CPU or x64.
Thanks,
Tom
[View Less]
Hi,
I'm trying to set up my pythonnet download to work with the .NET 4 framework. I'm new to this, so I might just be overlooking something.
I've found many forums (currently using this one: http://blog.bidiuk.com/2011/01/python-net-and-vs2010-net-4/ ) explaining the process to do this and have been successful in changing the cprojects to target .NET4, by using VS2010 express. But, I cannot find the buildclrmodule.bat file in my current download in order to change it to reference .NET4 as …
[View More]well. Therefore, I currently get this error when trying to load a .NET4 assembly: SystemError: dynamic module not initialized properly. I've gone back and looked through other downloads and have not come across the file. Can anyone direct me to where I could get this file they are referencing, or how to fix this disconnection?
Also, I am using Python 2.7. My current Pythonnet download (pythonnet-2.0-alpha2.zip) seems to only be programmed up to 2.6. Any time I build the Runtime Assembly, it outputs a Python 2.5 Runtime.dll. Any direction with this would be very helpful!
Thanks for your help!!
[View Less]