我正在尝试在特定文件夹中创建Pipenv虚拟环境,但是当我运行pipenv shell
命令时,它将在整个系统范围内创建虚拟环境。
darkbot@Darkbot:~/DJANGOTUTORIALS/MIPhoneShop$ pipenv shell .
Creating a virtualenv for this project…
Pipfile: /home/darkbot/Pipfile
Using /home/darkbot/.pyenv/versions/3.8.2/bin/python3 (3.8.2) to create virtualenv…
⠹ Creating virtual environment...created virtual environment CPython3.8.2.final.0-64 in 637ms
creator CPython3Posix(dest=/home/darkbot/.local/share/virtualenvs/darkbot-RTH1S_iq, clear=False, global=False)
seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/darkbot/.local/share/virtualenv/seed-app-data/v1.0.1)
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
✔ Successfully created virtual environment!
Virtualenv location: /home/darkbot/.local/share/virtualenvs/darkbot-RTH1S_iq
Launching subshell in virtual environment…
. /home/darkbot/.local/share/virtualenvs/darkbot-RTH1S_iq/bin/activate
我尝试在全系统范围内运行pipenv --rm
来删除创建的虚拟环境,然后再试一次,但是似乎不起作用