pipenv shell 在虚拟环境中启动子shell......'powershell.exe'未被识别为内部或外部命令、可操作的程序或。

问题描述 投票:1回答:1

我使用的是Windows 10和Visual Studio代码终端(但我也试过Windows Powershell)。

这是我的位置。PS C:\Users\MyUsername\Desktop\MyProjectFolder>

这是成功的。pip install --user pipenv

这是成功的。pipenv install django

最后我得到的信息是:

To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

所以我运行: pipenv shell 结果只得到这条信息

Launching subshell in virtual environment…
'powershell.exe' is not recognized as an internal or external command,
operable program or batch file.

我搜索了重复的问题,但找不到任何有用的信息。

python django windows powershell pipenv
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.