[Zope] Re: TextIndexNG3 install problem
Owen K
oekelly at sympatico.ca
Sat Feb 18 23:55:24 EST 2006
Problem solved.
MinGW built the pyd files in
C:\Zope-Instance\Products\TextIndexNG3\extension_modules\build\lib.win32-2.3\zopyx\txng3
, but for some reason the zopyx folder was not on the Python search path
(under Windows).
The fine manual (here http://www.python.org/doc/essays/packages.html and
here http://docs.python.org/ref/import.html ) describes that Windows module
search for import has differences from other operating systems.
One solution (not too elegant), is to move the zopyx folder into a folder
that is being searched.
I moved the zopyx folder to the site-packages folder.
(Setting $PYTHONPATH to C:\Zope-Instance\Products\TextIndexNG3 might also
have worked, or putting the right zopyx.pth file somewhere might have
worked).
By "solved" I mean the TextIndexNG3.1.5 configlet now appears in the
Plone2.1.2 add/remove products page without any errors. And the event.log
traceback errors have disappeared.
Thanks everyone!
-Owen
"Owen K" <oekelly at sympatico.ca> wrote in message
news:dt7aqh$jef$1 at sea.gmane.org...
> Andreas,
>
> There were no errors during the build. The new files are here
>
> Directory of
> C:\Zope-Instance\Products\TextIndexNG3\extension_modules\build\lib
> .win32-2.3\zopyx\txng3
>
> 02/18/2006 09:16 AM <DIR> .
> 02/18/2006 09:16 AM <DIR> ..
> 02/18/2006 09:16 AM 59,904 levenshtein.pyd
> 02/18/2006 09:16 AM 9,728 normalizer.pyd
> 02/18/2006 09:16 AM 18,432 splitter.pyd
> 02/18/2006 09:16 AM 180,736 stemmer.pyd
> 02/18/2006 09:16 AM 6,656 support.pyd
> 10/22/2005 09:41 AM 14 __init__.py
> 6 File(s) 275,470 bytes
> 2 Dir(s) 17,930,670,080 bytes free
>
>
> Here is the install error:
>
> C:\Zope-Instance\Products\TextIndexNG3\extension_modules>python setup.py
> install
>
> running install
> running build
> running build_py
> running build_ext
> error: Python was built with version 6 of Visual Studio, and extensions
> need to
> be built with the same version of the compiler, but it isn't installed.
[truncated]
More information about the Zope
mailing list