Cannot start RPy - need win32api

tkpmep at hotmail.com tkpmep at hotmail.com
Fri Apr 11 12:47:15 EDT 2008


I'm running Python 2.5.2 on Windows XP and need to interface with R,
so I downloaded the R 2.6.2 statistical package and installed it, and
did the same for RPy 1.02 (i made sure I got the version for Python
2.5 and R 2.62.). When I go to the Python command line and type

>>> from rpy import *
I get the following error message:

Traceback (most recent call last):
  File "<pyshell#7>", line 1, in <module>
    from rpy import *
  File "C:\Python25\lib\site-packages\rpy.py", line 88, in <module>
    import win32api
ImportError: No module named win32api
>>>

What on earth is win32api, where can I find it, and where ought I to
put it?

Thanks in advance

Thomas Philips



More information about the Python-list mailing list