简体   繁体   English

在cmd中创建虚拟环境目录失败

[英]Failed to create virtual environment directory in cmd

Unable to create venv using python 3x;无法使用 python 3x 创建 venv;

python -m venv myclub

Error: Command '['C:\\Users\\Sibasankar Panigrahi\\myclub\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.错误:命令 '['C:\\Users\\Sibasankar Panigrahi\\myclub\\Scripts\\python.exe'、'-Im'、'ensurepip'、'--upgrade'、'--default-pip']' 返回非-零退出状态 101。

This looks to be caused by how you installed Python.这看起来是由您安装 Python 的方式引起的。

Uninstall and reinstall, using the 'all users' option in the custom / advanced menu options of the installer.使用安装程序的自定义/高级菜单选项中的“所有用户”选项卸载并重新安装。 Don't forget to tick add to path!.不要忘记勾选添加到路径!。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM