泰山神 发表于 2019-2-19 11:42:40

windows pip install twisted troubleshooting

twisted error


[*]在windows中使用pip安装twisted的时候出现error如下:
pystate.h 文件exc_type exc_value exc_traceback不是 _ts的成员。
打开pystate.h文件,找到_ts的结构体 typedef struct _ts 添加如下代码:
_PyErr_StackItem exc_type;
_PyErr_StackItem exc_value;
_PyErr_StackItem *exc_traceback;

```保存即可!```



页: [1]
查看完整版本: windows pip install twisted troubleshooting