trouble installing rpy2 on win7 (R 2.12, Python 2.5)

前端 未结 6 1088
鱼传尺愫
鱼传尺愫 2020-12-08 16:50

I\'m brand new to Python (and programming in general) I come from a finance background, so please bear with me. I just started using Python (Enthought\'s Pylab/Scipy/Numpy)

6条回答
  •  臣服心动
    2020-12-08 17:21

    I had exactly the same problem running rpy2 in python under win32 "WINBLOW :)" XP ; but I got this to work , FINALLY !!.

    Here's how I did it :

    1. Same as Guillaume, I had to copy all the files from C:\Program Files\R\R-2.15.0\bin\i386 to R\R-2.15.0

    2. I had to set an environment variable

    Go to My Computer>properties>Advanced>Environment Variables> Variable : "PATH" , adding ;C:\Program Files\R\R-2.15.0 at the end of the "Value"

    1. rerun python setup.py build install under command prompt C:\Python27\rpy2>

    Hope This help, and please let me know if this work for you.

提交回复
热议问题