Thanks Sean
That's about right. I change my user path including my geos.dll and it's ok.
So for deployment I have to copy the dll and modify (or create) the user
path.
Thanks

Ludovic

2010/11/9 Sean Gillies <[email protected]>

> Hi Ludovic,
>
> Shapely uses ctypes to call functions from a GEOS DLL through FFI. I
> don't see how this can be made compatible with py2exe unless you
> separately distribute and install the GEOS DLL to a well known
> location.
>
> On Tue, Nov 9, 2010 at 7:50 AM, Ludovic Granjon
> <[email protected]> wrote:
> > Hi list
> > I try to build an exe of my python script with py2exe
> > I use shapely in the script and when I try to use py2exe I have the
> > following errors :
> >
> > Traceback (most recent call last):
> >   File "main.py", line 14, in <module>
> >   File "ana.pyc", line 37, in <module>
> >   File "shapely\geometry\__init__.pyc", line 4, in <module>
> >   File "shapely\geometry\geo.pyc", line 5, in <module>
> >   File "shapely\geometry\point.pyc", line 7, in <module>
> >   File "shapely\geos.pyc", line 68, in <module>
> >   File "ctypes\__init__.pyc", line 312, in __init__
> > WindowsError: [Error 126] Le module spécifié est introuvable
> >
> > I see this page http://trac.gispython.org/lab/ticket/189
> > but I don't understand what can I do.
> >
> > Is there someone who can explained me what I can do ?
> >
> > Thanks
> >
> > Ludovic
> >
>
>
> --
> Sean
> _______________________________________________
> Community mailing list
> [email protected]
> http://lists.gispython.org/mailman/listinfo/community
>
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to