install rpy2 on Windows7 64bit for Python 2.7

后端 未结 5 1550
滥情空心
滥情空心 2021-01-17 14:36

I am trying to build and install rpy2 Python Module. But got an error (see below).

I have R installed in C:\\Program Files\\R\\R-2.15.0\\ and R.h

5条回答
  •  情书的邮戳
    2021-01-17 14:42

    I am working through the same myself. The libraries etc. Located indicate that you are picking up the 32 bit version i386. Add "C:\Program Files\R\R-2.15.1\include" include directory may help force fix the problem. This is the farthest I have got:

    building 'rpy2.rinterface._rinterface' extension
    error: Unable to find vcvarsall.bat
    

    With the MSVC express shell and R x64 and msys sh in path.

提交回复
热议问题