[Python.NET] Use Python .NET with existing Python installation

007 cheng doubleo7 at gmail.com
Thu Oct 7 15:41:21 CEST 2004


Dear Sir,

according to the Readme.txt
----------------------------------------------------------------------------
**Can I use it with my existing Python installation?**

    Yes, at least on win32 systems. Just copy the files Python.Runtime.dll 
    and CLR.dll from the PythonNet directory to the root directory of your
    python installation.
----------------------------------------------------------------------------
I follow the instaructio to copy the DLLs to my Python 2.3.3
installation directory.
But cannot import CLR.
------------------------------------------------------------------------------------------------------
C:\Python23>python
Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from CLR.System import String
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named System
>>>
------------------------------------------------------------------------------------------------------

What did I miss?


More information about the PythonDotNet mailing list