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 exter开发者_StackOverflown
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
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.
精彩评论