【发布时间】:2011-10-01 05:24:30
【问题描述】:
所以我在这里有点进退两难。 setuptools 不使用 easy_install 来获取您在 setup.py 中指定的其他依赖项吗?我问是因为说我有一个 setup.yp 并且在 install_requires = ["numpy"] 中。现在,如果我运行 python setup.py install 会出现错误:
_configtest.c:1:20: error: Python.h: No such file or directory
_configtest.c:1:20: error: Python.h: No such file or directory
lipo: can't figure out the architecture type of: /var/tmp//cciDxELX.out
_configtest.c:1:20: error: Python.h: No such file or directory
_configtest.c:1:20: error: Python.h: No such file or directory
但是,如果我运行“easy_install numpy”就可以了。什么可能导致这种行为?
问候, 波格丹
【问题讨论】:
标签: python numpy setuptools