尝试通过以下方法安装Apache Airflow时出现以下错误
<form action="/users" method="post">
<%= hidden_field_tag :authenticity_token, form_authenticity_token %>
<input type="text" name="user[name]" placeholder="Name"><br>
<input type="text" name="user[email]" placeholder="Email"><br>
<input type="password" name="user[password]" placeholder="Password"><br>
<input type="password" name="user[confirm_pw]" placeholder="Confirm PW">
<input type="submit" value="Join">
</form>
我删除了命令行工具,将操作系统从Mojave升级到Catalina,使用pip install apache-airflow
重新安装了xcode,即使以下错误未能得到解决:-
xcode-select --install
答案 0 :(得分:0)
在Github https://github.com/giampaolo/psutil/issues/1388和https://github.com/cython/cython/issues/2009上阅读这些问题
将我的文件夹---many similar lines---
In file included from /usr/local/include/stdint.h:59:
In file included from /usr/local/include/stdint.h:59:
In file included from /usr/local/include/stdint.h:59:
/usr/local/include/stdint.h:2:10: error: #include nested too deeply
#include <stddef.h>
^
/usr/local/include/stdint.h:72:11: error: #include nested too deeply
# include <sys/types.h>
^
/usr/local/include/stdint.h:82:11: error: #include nested too deeply
# include <inttypes.h>
^
In file included from src/setproctitle.c:14:
In file included from src/spt.h:15:
In file included from src/spt_python.h:14:
---many similar lines---
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/resource.h:216:2: error: unknown type name 'uint64_t'
uint64_t ri_wired_size;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'clang' failed with exit status 1
重命名为/usr/local/include
,以备备份之用,以防万一这不起作用
/usr/local/include_old
然后再次运行相同的安装命令:-
mv /usr/local/include /usr/local/include_old
这次完美无瑕。