在WSL Ubuntu中执行python3 -m venv创建虚拟环境失败的求助
在WSL Ubuntu中执行python3 -m venv创建虚拟环境失败的求助
大家好,这是我第一次在askUbuntu发帖,描述可能有点粗糙,还请见谅🙏
我在当前工作目录执行了这条命令:
python3 -m venv py_envv
执行后却遇到了错误,错误信息如下:
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.10-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.Failing command: ['/mnt/<>/<>////AirflowBasics/py_envv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
有没有大佬能帮忙解决这个问题?如果需要我的环境信息或者其他相关内容,随时跟我说~
谢谢大家!
备注:内容来源于stack exchange,提问作者JakeCaspian
相关产品推荐
相关产品推荐

