Hi John,

There isn't yet an integrated method for installing python extras which aren't part of the osgeo4w package system. A route that does work with a bit extra twiddling is to register the o4w python as the system default python[1], after which you can use the standard installers. If that doesn't work or isn't acceptable you'll have to manually put it in python's site-packages directory (there may be some more steps than that. I'm not familiar with pygments).

[1] http://trac.osgeo.org/osgeo4w/ticket/114 - doesn't work on 64bit systems, but if you study the .reg files one directory up you can see how to make your own reg file to import manually.

matt wilkie
--------------------------------------------
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------


On 19/05/2011 11:14 AM, John Callahan wrote:
Quick question regarding OSGeo4W. What is the best/preferred way to install python modules within OSGeo4W? For example, I use QGIS 1.7dev and tried to install the QGIS plugin "Fast SQL Layer." It could not install and returned that python module "pygments" must be installed. Doe sOSGeo4W come with a python module installer, or something similar? Thanks.

- John

***********************************
John Callahan, Research Scientist
Delaware Geological Survey
University of Delaware
URL: http://www.dgs.udel.edu
*******************************
_______________________________________________
osgeo4w-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev

Reply via email to