[R-sig-Geo] Problem activating manageR

Don MacQueen macq at llnl.gov
Thu May 22 18:39:00 CEST 2008


I decided to try manageR and ran into a problem. It appears to be 
specific to Mac OS X, but I'm hoping you or someone on this list will 
be able to help. It installs correctly, as far as I can tell, but 
does not activate.

When I go activate manageR  using the QGis plugin manager, I get this:

Couldn't load plugin "manageR" from 
Traceback (most recent call last):
  File "", line 3, in ?
  File "/Users/macq/.qgis//python/plugins/manageR/__init__.py", line 35, in ?
   from manageR import manageRPlugin ImportError: cannot import name 

Note that version 2.3 of python is being searched, within /System/Library/...

QGis itself requires a newer version of python than comes with the OS.
The OS X binary installer for Qgis installes python 2.5 in
*** not *** /System/Library
Which means that I now have two versions of python installed.

It looks like there's a search path that is searching the wrong 
python installation, so maybe the wrong python is being used to load 
the plugin??

But I don't know where that search path is defined or controlled. Any 
suggestions will be appreciated


With regard to having two versions of python:

python[118]% which python
python[119]% python --version
Python 2.5.1
python[120]% /usr/bin/python -V
Python 2.3.5

And /usr/local/bin/python is actually a link to the python in 
/Library/... (not /System/Library/....)

I did downloaded and installed NumPy and Rpy, and a few tests succeeded.

At 12:09 AM -0700 5/14/08, cfarmer wrote:
>Hello lists,
>For those of you who are interested, a new version of manageR is now
>available at http://www.geog.uvic.ca/spar/carson/ or via
>http://www.geog.uvic.ca/spar/carson/cfarmerQgisRepo.xml from the QGIS
>python plugin installer.
>This latest release includes a few big fixes, the ability (hopefully?!) to
>check all libPaths for installed packages, and the ability to
>automatically write sp objects to file and load them in QGIS. This was a
>pretty quick update, so please feel free to push the plugin to the limits,
>and let me know what the outcome is...
>Spatial Pattern Analysis & Research Lab (SPAR)
>Department of Geography, University of Victoria
>cfarmer at uvic.ca
>Qgis-user mailing list
>Qgis-user at lists.osgeo.org

Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

More information about the R-sig-Geo mailing list