[Setup] Re: instance: import error

Martin Aspeli optilude+lists at gmail.com
Tue Nov 3 16:27:25 UTC 2009


floseries wrote:
> Created plone3_buildout project with existing zope2 installation at plone3
> project under plone\zope2.
> 
> After buildout started:
> 
> $ bin\instance start
> 
> Following traceback appears:
> 
> 
> Traceback (most recent call last):
>   File "D:\Programme\project\bin\instance-script.py", line 135, in ?
>     plone.recipe.zope2instance.ctl.main(
>   File "d:\programme\project\eggs\plone.recipe.zope2instance-2.7-py2.4.egg\p
> lone\recipe\zope2instance\ctl.py", line 217, in main
>     options.realize(args, doc=__doc__)
> 
> ...
> 
>   File
> "D:\Programme\Plone\zope2\lib\python\AccessControl\Implementation.py", li
> ne 51, in setImplementation
>     from AccessControl import ImplC as impl
>   File "D:\Programme\Plone\zope2\lib\python\AccessControl\ImplC.py", line
> 30, in
>  ?
>     from ImplPython import RestrictedDTML, SecurityManager,
> ZopeSecurityPolicy
> ImportError: No module named ImplPython
> 
> 
> ImplPython.py and ImplPython.pyc exist under
> "D:\Programme\Plone\zope2\lib\python\AccessControl\"
> 
> sys.path within instance-script.py contains
> ""D:\Programme\Plone\zope2\lib\python"
> 
> What could be the mistake ?

Please google how to debug that line (No module named ImplPython)

Also: You may want to use the Windows installer (which is buildout based 
nowadaays) to get started. ;)

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book




More information about the Setup mailing list