Python installation for .NET: Could not load file or assembly 'clr.pyd'

Really sorry guys! But for my life, I'm getting close to losing my mind trying to install Python for .NET. I carefully read the instructions below and still cannot get the installation to work. I am running python on the Spyder IDE, I have windows 7. I have downloaded the pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86 files. I found my python directory using the following commands:

>>> import os
>>> os.getcwd()
'C:\\Users\\Jessica'

I dragged all the decompressed files into a directory and tried to load the CLR

>>> import clr as ccllrr

Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'clr.pyd' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'clr.pyd'

But I keep getting this error message. What am I doing wrong? Missed some step somewhere?

Here are the instructions I follow: How to install Python for .NET on Windows

and

http://pythonnet.imtqy.com/

+4
1

: .NET Framework 4.0 .

.Net.

, . Windows 7 .NET, 2.0, 3.0 3.5. ( .) 4.0.

, , , , .Net Python.

, .NET Python, .NET .


.NET 4.0 Python .NET .NET 3.5 , 3.5 4.0. .NET 4.0 - , , .


, 4.0?

, -, :

: System.BadImageFormatException: 'clr.pyd' . , , , .

... , clr.pyd .NET, , . ? :

pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86

clr4.0 , CLR 4.0. , CLR ( "Common Language Runtime" ) ".NET Framework Runtime" - , , , .NET, ... , .

+4

All Articles