AttributeError:'MSVCCompiler'对象没有属性'compiler_so'

该问题的出现是因为windows环境不支持.compiler_so,因此我们需要配置一下windows环境,我的环境是win10+python3.7+tensorflow2.3,

1、按照

https://blog.csdn.net/qq_24800377/article/details/82857018

配置了msys2和bazel后,则该问题能够解决。

2、直接替换掉需要编译的文件

https://blog.csdn.net/u013837919/article/details/86743105

原文地址:https://www.cnblogs.com/mj-selina/p/13897031.html