我用创建了一个虚拟 python 环境python -m venv virtual,然后我尝试用安装 flask virtual\Scripts\pip install flask。但后来我得到了这个错误:virtual\Scripts\pip : The module 'virtual' could not be loaded. For more information, run 'Import-Module virtual'.At line:1 char:1+ virtual\Scripts\pip install flask+ ~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (virtual\Scripts\pip:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoLoadModule当我尝试时,Import-Module virtual我得到了:Import-Module : The specified module 'virtual' was not loaded because no valid module file was found in any module directory.At line:1 char:1+ Import-Module virtual+ ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (virtual:String) [Import-Module], FileNotFoundException + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand我应该怎么办?
添加回答
举报
0/150
提交
取消