赞
踩
问题: AttributeError: module ‘distutils’ has no attribute ‘version’.
解决: setuptools版本问题”,版本过高导致的问题;setuptools版本
第一步: pip uninstall setuptools
【使用pip,不能使用 conda uninstall setuptools ; 【不能使用conda的命令,原因是,conda在卸载的时候,会自动分析与其相关的库,然后全部删除,如果y的话,整个环境都需要重新配置。
第二步: pip
或者conda install setuptools==59.5.0
【现在最新的版本已经到了65了,之前的老版本只是部分保留,找不到的版本不行
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。