ubuntu创建虚拟环境失败

setuptools pkg_resources pip wheel failed with error code 2

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

在创建python3的时候需要pip3

--no-setuptools

猜你喜欢

转载自www.cnblogs.com/timeback/p/10856078.html