[Python.NET] ActivePython 2.4.1.245 problem

Boris Capitanu borice23 at yahoo.com
Thu Apr 14 21:11:41 CEST 2005


Hi, 

I just upgraded my Python to ActiveState's 2.4.1
version and some thing apparently broke in the bridge.

Here are some things I was able to do in version 2.4.0
that now no longer work:

C:\Python24>python
ActivePython 2.4.1 Build 245 (ActiveState Corp.) based
on
Python 2.4.1 (#65, Mar 30 2005, 09:33:37) [MSC v.1310
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> import CLR
>>> from CLR.System.Reflection import Assembly
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: __import__ not found
>>>


-------------

C:\Python24>python
ActivePython 2.4.1 Build 245 (ActiveState Corp.) based
on
Python 2.4.1 (#65, Mar 30 2005, 09:33:37) [MSC v.1310
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> import CLR
>>> import CLR
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: __import__ not found
>>>
>>> import os
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: __import__ not found
>>>
----------------

It looks that after you first "import CLR" something
gets screwed up inside CPython's tables because it
can't find any imports anymore.

Anyone else have the same problem?

Boris



		
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs


More information about the PythonDotNet mailing list