擅长:python、mysql、java
<p>您可以看到pip安装到python2.6的站点包中,因为pip是用python2.6安装的,所以它将默认使用该库。在</p>
<pre><code> rpy2 in /Library/Python/**2.6**/site-packages/rpy2-2.3.8-py2.6-macosx-10.6-universal.egg
</code></pre>
<p>您可以重定向pip安装位置或使用easy\u install2.7,它应该在/usr/local/bin/中</p>