Error when installing pip install rpy2

Issue #569 new
thanuj d created an issue

When I try to install rpy2 in windows 10 it fails and throws an error below.

File "c:\users\e205884\appdata\local\temp\pip-req-build-svi15m4q.eggs\cffi-1.12.3-py3.7-win32.egg\cffi\cparser.py", line 325, in convert_pycparser_error
raise CDefError(msg)
cffi.CDefError: cannot parse "blah1 ReadConsole;"
<cdef source string>:23:5: before: blah1


ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I request you to help me if there is any way to install rpy2 in windows 10.

I tried using pip install rpy2 it didn’t work it is keep on throwing the error. If there is any fix to this error please let me know.

If you have any detailed guide Please let me know

Comments (4)

  1. germayne

    any update on this? i am facing the same and hence, using the conda version but its not up to date

  2. Wesley Ingwersen

    I have the same issue preventing install on Windows. Never had this with other packages installed from source. Using Windows 10, 64-bit.

  3. Log in to comment