[Qgis-user] Re: Problem activating manageR
cfarmer at uvic.ca
Thu May 22 13:00:47 EDT 2008
Unfortunately I don't have access to Mac OS X these days, so perhaps
someone else from this list has some suggestions? It sounds like you're
on the right track with the problem, but unfortunately I don't have a
solution for you at the moment. Does this behaviour occur with all
python plugins, or just manageR?
You may have to specify which python path you want to use in your
.bash_login file ($PATH)? Are you able to remove the older python version?
Don MacQueen wrote:
> 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
> 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
> 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% which python
> python% python --version
> Python 2.5.1
> python% /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
>> 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
More information about the Qgis-user