[Zope-dev] import error in python2.6

Lennart Regebro regebro at gmail.com
Mon Jul 21 10:15:57 EDT 2008


On Mon, Jul 21, 2008 at 15:56, Bristow Thankachan
<bristow.thankachan at gmail.com> wrote:
> Hi all,
>
> I asked about the import error in python2.6 while trying to port zope2. The
> error message is given below.
>
>  File "/home/zope/ztrunk26/lib/python/AccessControl/ImplC.py", line 30, in
> <module>
> from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
> ImportError: No module named ImplPython
>
> It works well in python2.4 and 2.5. Please give your suggestions.

ImplPython is a python module in Zope. It likely has some sort of
syntax error under 2.6 that is not a syntaxerror under 2.5, so the
import fails, or the C-modules that it uses fail it's compile during
setup, so import of them failed.

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64


More information about the Zope-Dev mailing list