![如何解决这个 rpy2 问题?我需要安装 rpy2](https://linux22.com/image/1005363/%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%E8%BF%99%E4%B8%AA%20rpy2%20%E9%97%AE%E9%A2%98%EF%BC%9F%E6%88%91%E9%9C%80%E8%A6%81%E5%AE%89%E8%A3%85%20rpy2.png)
我试过他的;rpy2 安装错误但这也没什么用。我试了很多!请帮忙!
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-ivarJ9/rpy2/
答案1
我从来没有尝试过这个包,但它似乎
针对 Python2 和 Python3进行了打包。您可以通过安装来尝试:
sudo apt-get install python3-rpy2 python-rpy2