I am trying to install rpy2 in Linux and I keep getting these errors. I updated my Python to 3.6 as well. I have Ubuntu 16.4
Collecting rpy2
Using cached rpy2-2.9.2.tar.gz
Complete output from command python setup.py egg_info:
rpy2 is no longer supporting Python < 3. Consider using an older rpy2
release when using an older Python release.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yEavWp/rpy2/