我用創(chuàng)建了一個(gè)虛擬 python 環(huán)境python -m venv virtual,然后我嘗試用安裝 flask virtual\Scripts\pip install flask。但后來(lái)我得到了這個(gè)錯(cuò)誤: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當(dāng)我嘗試時(shí),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我應(yīng)該怎么辦?
添加回答
舉報(bào)
0/150
提交
取消