网上说是pytorch,conda,pip,版本冲突,然后建议在terminal输入
export LC_ALL = “C”,或者export LC_ALL = “en_US.utf8,亲测无用。

最后切换了下pycharm的虚拟环境就能正常编译了

更多推荐