[Qgis-user] re qgis & mac os

William Kyngesburye woklist at kyngchaos.com
Tue Nov 24 15:57:42 PST 2009


Ah, R is a strange 'framework'.  But that shouldn't matter, as rpy2 should know how to deal with it.

I last built rpy2 back when Python on OSX was 32bit only, and (looking at my notes) I installed manually, instead of easy_install.  Download the source and unzip it.  Then cd to the folder in a Terminal and:

python setup.py build
sudo python setup.py install

Note: the install is a bit messed up in that it will install the logo image in the system site-packages instead of the user site-packages (/Library/Python) alongside the rest of rpy2.


On Nov 24, 2009, at 3:11 PM, John Dean wrote:

> Many thanks.
> I tried easy_install rpy2.
> I am still not quite there.
> QGIS will not install SDA4PP because it still cannot find rpy2.robjects.
> Terminal window reads as follows:
> 
> Searching for rpy2
> Reading http://pypi.python.org/simple/rpy2/
> Reading http://rpy.sourceforge.net
> Best match: rpy2 2.0.8
> Downloading http://pypi.python.org/packages/source/r/rpy2/rpy2-2.0.8.tar.gz#md5=c63a56aca8a352719ee3c91805beee66
> Processing rpy2-2.0.8.tar.gz
> Running rpy2-2.0.8/setup.py -q bdist_egg --dist-dir /var/folders/59/59s8Q-EeGM0J+8sB0JAMTk+++TI/-Tmp-/easy_install-mpTbjC/rpy2-2.0.8/egg-dist-tmp-ZuDIiu
> /Library/Frameworks/R.framework/Resources/bin/config: line 143: make: command not found
> /Library/Frameworks/R.framework/Resources/bin/config: line 144: make: command not found
> R was not built as a library
> Traceback (most recent call last):

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

[Trillian]  What are you supposed to do WITH a maniacally depressed robot?

[Marvin]  You think you have problems?  What are you supposed to do if you ARE a maniacally depressed robot?  No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...

- HitchHiker's Guide to the Galaxy





More information about the Qgis-user mailing list