Mac新手,我想在ipython notebook(/或python2.7)和R之间建立直通连接。
- 今天安装了Xcode,最新版本
- 在终端: pip install rpy2 (然后我看到以下错误消息返回)
- %load_ext rmagic (...)
有没有人遇到过类似的错误信息?如果您可以分享您的方法如何解决它,那就太好了!提前致谢 !!
./rpy/rinterface/_rinterface.c:51:10: fatal error: 'signal.h' file not found
include <signal.h>
1 error generated.
error: command '/Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/clang' failed with exit status 1
Cleaning up...
Command /Users/AliceXiong/anaconda/bin/python -c "import setuptools, tokenize;
__file__='/private/var/folders/f_/0whwct214sj4nzd0d7rv90p80000gn/
T/pip_build_AliceXiong/rpy2/setup.py';exec(compile(getattr(tokenize, 'open', open)
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record
/var/folders/f_/0whwct214sj4nzd0d7rv90p80000gn/T/pip-2lFYqK-record/install-record.txt --
single-version-externally-managed --compile failed with error code 1 in
/private/var/folders/f_/0whwct214sj4nzd0d7rv90p80000gn/T/pip_build_AliceXiong/rpy2
Storing debug log for failure in /Users/AliceXiong/.pip/pip.log
实际上,我打开了这个调试日志(vi .pip.log),但它是一个空文件