我正在尝试安装一个名为auromat(https://pypi.python.org/pypi/auromat)的程序。我有困难设置.py和C编译器错误。我是一个Mac用户,我有Xcode和命令行工具,所以我知道我有gcc(4.2.1)。但奇怪的是我找不到设置.py但是我得到了一个C编译器错误。我将非常感谢你的建议(注:我确实已经遵循了一些建议,但似乎没有一个对我有用)。 以下是错误日志:
The C compiler used to compile Python gcc-4.2, and which is normally used to compile C extensions, is not available. You can explicitly specify which compiler to use by setting the CC environment variable, for example:
CC=gcc python setup.py <command>
or if you are using MacOS X, you can try:
CC=clang python setup.py <command>
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-08eydl5s/astroquery
目前没有回答
相关问题 更多 >
编程相关推荐