python setup.py install报错原因汇总

1.‘gcc’ failed with exit status 1

Windows环境下手动安装gcc编译器版本不正确或其他原因
Window10-MinGW下载安装gcc,g++编译器连接,亲测可用:

https://blog.csdn.net/cbb944131226/article/details/82940273

2.if self.ld_version >= “2.10.90”: TypeError: ‘>=’ not supported between instances of ‘NoneType’ and str

首先检查,是否将gcc编译器加入环境变量。如果无误可以参考下面链接解决,亲测可用
https://stackoverflow.com/questions/24683305/python-cant-install-packages-typeerror-unorderable-types-nonetype-str

你可能感兴趣的:(深度学习环境配置)