ubuntu创建虚拟环境失败

setuptools pkg_resources pip wheel failed with error code 2

 

在创建虚拟环境的时候添加这个就可以,原因是setuptools里面设置了pip为默认的路径

在创建python3的时候需要pip3

--no-setuptools

posted @ 2019-05-13 13:17  上吊中。。。  阅读(695)  评论(0编辑  收藏  举报