2
所以我在这里有一个dillema。 setuptools不使用easy_install来获取您在setup.py中指定的附加依赖关系吗?我问,因为说我有一个setup.yp和install_requires = [“numpy”]。现在,如果我运行python setup.py的安装,给出了一个错误:python setuptools和easy_install numpy question
_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的”作品。什么会导致这种行为?
问候, 波格丹
我在MacOS上。问题在于,它仅在从setup.py列为install_requires时才会出现这些错误。如果我只是从命令行进入easy_install numpy,错误消失了。 – Bogdan