cython bug: if self.ld_version >= "2.10.90": TypeError: '>=' not supported between instances of 'NoneType' and

如果使用python setup.py build_ext --inplace出现如下错误

if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'

可以如果安装了vs(我的版本是2019),可以尝试:

python setup.py build_ext --inplace --compiler=msvc
————————————————
版权声明:本文为CSDN博主「TomCat_TVT」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_41333959/article/details/105326229

posted @ 2022-10-14 15:55  笨笨和呆呆  阅读(576)  评论(0)    收藏  举报