我正在尝试安装RPostgreSQL软件包并收到以下错误:
Rstudio中的控制台(通过Anaconda运行)显示:
/bin/sh: x86_64-apple-darwin13.4.0-clang: command not found
make: *** [RS-DBI.o] Error 127
ERROR: compilation failed for package ‘RPostgreSQL’
* removing ‘/anaconda3/lib/R/library/RPostgreSQL’
gcc -v返回
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin