src_dt assignment at line 181 of rpy/robjects/lib/dplyr.py is no longer viable as of dplyr 0.5, as Hadley has moved this out to the new "dtplyr" package. With this additional package installed (in R), the logic at line 181 now works as:
dtplyr = importr('dtplyr') src_dt = dtplyr.src_dt
It's also possible that the right answer is to remove
src_dt from dplyr.py and look more closely at whether the dtplyr package wants its own rpy2 wrapping module...
(all of the above encountered on rpy2 2.8.1, dplyr 0.5.0)