安装问题:“python setup.py egg_info”失败,错误代码为1

时间:2016-08-08 19:55:10

标签: python macos python-2.7 rpy2

在使用OSX 10.11.2和Python 2.7.12的mac上运行pip install rpy2后得到following error

fig2.figure 

我也试过用sudo运行它:

Collecting rpy2
  Downloading rpy2-2.8.2.tar.gz (186kB)
    100% |████████████████████████████████| 194kB 3.0MB/s
    Complete output from command python setup.py egg_info:
    Warning: Tried to guess R's HOME but no command (R) in the PATH.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/ml/wk8739s920z0rq1_rjrb2z980000gn/T/pip-build-8TiA72/rpy2/

我已尝试Collecting rpy2 Downloading rpy2-2.8.2.tar.gz (186kB) 100% |████████████████████████████████| 194kB 2.0MB/s Complete output from command python setup.py egg_info: Warning: Tried to guess R's HOME but no command (R) in the PATH. ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-FDFFDI/rpy2/ 并将pip升级到最新版本,但似乎没有任何效果。

你能帮忙吗?

谢谢。

0 个答案:

没有答案