python pip安装报错

1 错误内容: use_2to3 is invalid

原因:

1) setuptools 58之后的版本不支持use_2to3 。所以需要将setuptools更新为58之前的版本。

2) 或者也可以避免在设置参数中使用带有use_2to3的软件包

参考链接: https://setuptools.pypa.io/en/latest/history.html#v58-0-0

posted @ 2022-07-21 23:26  tslam  阅读(71)  评论(0编辑  收藏  举报