-
I uninstalled MacPorts completely and it still failed, because python was pointing at Python 2.5.4 -- EPD 5.1.1.
The following command worked:
$ sudo python2.6 setup.py install
running install
running build
running build_py
running build_ext
running install_lib
running install_data
creating /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
creating...
2009-11-25 23:18:01 UTC by chrisimaxwell
-
I'd suggest you try one of the following:
a- desinstall macports R and install the R binary from CRAN, then install rpy2 again
(note: the CRAN binary should be at /usr/bin/R)
b- download rpy2 from macports (since they package rpy2)
2009-11-25 22:05:00 UTC by lgautier
-
Well, changing to R 2.10.0 (installed by MacPorts) did not fix the problem.
I confirmed that "/opt/local/lib/R/bin/R" points to 2.10.0
but
"/opt/local/lib/R/bin/R" CMD config BLAS_LIBS
still returns nothing.
2009-11-25 21:16:15 UTC by chrisimaxwell
-
I have R installed from MacPorts
http://trac.macports.org/browser/trunk/dports/math/R/Portfile
(that was version 2.9.2, currently upgrading to 2.10.0 but not done yet)
I also have R 2.10.0 installed from CRAN binary:
http://cran.fhcrc.org/bin/macosx/ (or more specifically http://cran.fhcrc.org/bin/macosx/R-2.10.0.pkg)
2.10.0 is what runs from the GUI. 2.9.2 runs from the command...
2009-11-25 21:11:18 UTC by chrisimaxwell
-
Where is your R coming from ?
Did you compile it yourself or installed pre-built binaries (and if yes, from where) ?.
2009-11-25 20:29:33 UTC by lgautier
-
Thank you (thank you!) for helping - it would help me very greatly to have this working again.
I agree that R is not returning information regarding it's BLAS_LIBS config, although I cannot figure out why. I tried some associated queries below - hopefully it will help.
R is version 2.9.2 (2009-08-24)
$ "/opt/local/lib/R/bin/R" CMD config BLAS_LIBS
$ "/opt/local/lib/R/bin/R" CMD config...
2009-11-25 20:23:40 UTC by chrisimaxwell
-
The problem occurs when the setup script tries to obtain informations from R
(the exception says that a call to R CMD config returned an empty string)
Can you open a terminal and investigate why the following does not return anything ?
"/opt/local/lib/R/bin/R" CMD config BLAS_LIBS.
2009-11-25 20:07:32 UTC by lgautier
-
I'm getting the following error when trying to install rpy2 on my Mac.
$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 153, in
ri_ext = getRinterface_ext(RHOME, r_packversion)
File "setup.py", line 139, in getRinterface_ext
get_rconfig(RHOME, 'BLAS_LIBS'),
File "setup.py", line 85, in get_rconfig
raise Exception(cmd +...
2009-11-24 18:51:54 UTC by chrisimaxwell
-
lgautier made 1 file-release changes.
2009-11-09 19:05:01 UTC by lgautier
-
lgautier made 2 file-release changes.
2009-11-09 19:04:01 UTC by lgautier