简体   繁体   English

在 Windows 10 中安装虚拟环境

[英]installing virtual environment in windows 10

I was trying to install a virtual environment in windows and I am getting the following error message.我试图在 Windows 中安装虚拟环境,但收到以下错误消息。 I tried googling it but wasn't much of any help.我尝试使用谷歌搜索它,但没有太大帮助。 安装虚拟环境时出现错误消息

I hope I understand the problem correctly.我希望我能正确理解问题。 You can try你可以试试

python -m pip install virtualenv

If that fails, all you need to do is either start cmd as admin, which probably some people will advise against, or use the --user flag, to install the pip package.如果失败,您需要做的就是以管理员身份启动 cmd,这可能有些人会反对,或者使用 --user 标志来安装 pip 包。

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

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