I answered my own question.  To see a list of installed modules...

1) install pip
2) run "pip freeze"

Thanks, I didn't know that. Curious choice of a word to use for "show me installed modules and versions".

/...later: /

Pip freeze on my system shows:

   Whoosh==2.3.2
   active-directory==0.6
   distribute==0.6.25
   ipython==0.12
   numpy==1.5.1
   pyreadline==2.0-dev1
   pyzmq==2.1.11
   tornado==2.2

Which is mostly correct, with the exception of one, I installed those using either pip or easy_install. The oddball is numpy. It is installed from the osgeo4w python-numpy package. Maybe numpy is installed twice, once via o4w and once via a pip dependency?

Running 'pip uinstall numpy' didn't seem to break my system, 'import numpy' still works even though 'pip freeze' no longer lists it as available. Following this with 'pip install numpy' want's to install a newer version, 1.6.1. The o4w version is 1.5.1, so doing this might cause version conflicts. (untested, I aborted the install.)

In any case this is a warning flag of possible confusion down the line. I'm not saying don't use pip, I am after all, just be aware of the potential for trouble.

cheers,

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/
--------------------------------------------


_______________________________________________
osgeo4w-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev

Reply via email to