pycharm install python packaging tools时遇到AttributeError: '_NamespacePath' object has no attribute 'sort'错误

pycharm install python packaging tools时报错AttributeError: '_NamespacePath' object has no attribute 'sort'。 

错误如图:

 

 解决方法:

    百度了很久,没试成功过,只能用最笨的方法。

  删除pycharm的安装目录,项目目录venu不用删除!重新解压pycharm目录,打开pycharm,会自动跳转到项目目录,再选择默认设置,查看安装的库,还是为空,点击下面的小提示 install packaging tools,这次就不会报错了,之前的库也全出来了。 

猜你喜欢

转载自www.cnblogs.com/4wheel/p/9231840.html
今日推荐