Sorry Alexander, I always forget to click reply all. ------------------- Hi Alexander, > -----Original Message----- > From: Alexander Bruy [mailto:[email protected]] > Sent: Friday, 17 September 2010 6:23 p.m. > To: Alister Hood > Cc: [email protected] > Subject: Re: [Qgis-user] Using the qplanet plugin on Windows? - > pysqlite2, scipy > > Hi Alister, > > 2010/9/17 Alister Hood <[email protected]>: > > Hi everyone. > > I thought I'd try the qplanet plugin, but it wouldn't load, > > producing this error: > > > > ... > > File "C:\Documents and > > Settings\alister.hood/.qgis/python/plugins\Qplanet\modelite.py", > > line 4, in > > from pysqlite2 import dbapi2 as sqlite3 > > File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 279, > > in _import > > mod = _builtin_import(name, globals, locals, fromlist, level) > > ImportError: No module named pysqlite2 > > > > I have no idea whether this would work, but I tried editing > > modelite.py to replace the offending line with `import sqlite3`, and > > it now produces this error: > > Seems that you need to install pyspatialite package. This package > available via OSGeo4W installer in Libs section
It is installed. It just doesn't seem to contain pysqlite2 > > > File "C:/Documents and > > Settings/alister.hood/.qgis/python/plugins\Qplanet\Shp2Shp.py", line > > 14, in > > from scipy import io, linalg > > File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 279, > > in _import > > ImportError: No module named scipy > > > > I can't spot scipy in the osgeo installer. Is there any way on > > Windows to install extra python modules that aren't in the osgeo > > installer? The installer from scipy's website fails, complaining > > that there is no Python in the registry, which is what the > > installers for most python modules seem to do. > > Try to unpack scipy installer with arhiever (7-zip or something > other), find Python modules and copy them to OSGeo4W Python folder Ah, I tried that, but I think I just didn't go far enough. When I tried opening the .exe inside the .exe it ran it instead. But if I extract the .exe inside the .exe then I can open it... I'll try again. > > > -- > Alexander Bruy Thanks.
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
