I've been able to install rpy2
v2.0.8 from the .msi
from source forge, but I'd like to use the latest version that includes the packages code, i.e. v2.1.9
.
I'm attempting to compile rpy2 in windows (python 2.6.6
).
CL is complaining because LibExtern
is being defined as extern
and as declspec
in different place.
gcc
and c++
can't compile without errors either.
I'm assuming this compiles ok on unix and that all I'm missing is some config (prob environment variables), since I can't believe it would have been released in a non-compilable form.
Any anyone point me in the right direction pls?
Many thx
DM
Here's what [ReadTheDocs. rpy2]: Installation (which has "Compiling on Linux" and "Compiling on OS X" sections, but nothing about Win, although it mentions that it should compile successfully) states: There is currently no binaries or support for Microsoft Windows (more for lack of resources than anything else).
Installing rpy2You must have Python >=3.7 and R >= 4.0 installed to use rpy2 3.5.
Rpy2 (discontinued, unstable): provide access to the R software environment for statistical computing and graphics.
Your best bet is to download it from this site. It has all the popular repositories that need to be compiled in order to work. Its basically a group Unofficial Windows Binaries for Python Extension Packages by Christoph Gohlke at The Laboratory for Fluorescence Dynamics, University of California, Irvine.
I've given you the link to the latest version of rpy2
, and there are versions for every type of Python. Please note that you will need R installed. Download the version for 2.7, it should work for 2.6.6, but if it does not, then update your Python 2.7.5.
However, if you are still keen on actually compiling the binaries, then you will need to give me the error messages and the tracebacks, as otherwise, one cannot know for sure what your exact problems are.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With