[Community] Shapely on Windows from virtualenv
Eric Lemoine
eric.c2c at gmail.com
Fri Feb 27 11:40:27 EET 2009
Hello
I need to have Shapely available from a virtualenv. Given that the
Windows installer of Shapely (Shapely-1.0.11.win32.exe) won't see the
virtualenv I thought about installing Shapely in the global
site-packages (C:\Python25) and creating it the virtualenv without the
--no-site-packages option so that eggs installed in the global
site-packages are available in the virtualenv. But this doesn't work
with Shapely - when doing "import shapefile.geometry" an exception
occurs because geos.dll cannot be found. If I create a DLLs folder
under my virtualenv and copy geos.dll in that folder then it works,
but this obviously a pain.
Does someone have an idea on how to improve the situation here?
Thanks,
--
Eric
More information about the Community
mailing list