Pipenv Shell未在项目目录中创建环境

时间:2019-09-26 18:47:11

标签: pipenv

我在Debian发行版上编码。
当我在项目文件夹pipenv shell中运行/home/username/Developement/project/时,它将创建以下

Launching subshell in virtual environment...
 . /home/username/.venv/bin/activate
[username@localhost ~]$  . /home/username/.venv/bin/activate
(username) [username@localhost ~]$ 

但是pipenv shell适用于任何子目录:/home/username/Development/project/another/

Launching subshell in virtual environment...
. /home/username/.local/share/virtualenvs/another-_QO4qW1u/bin/activate
[username@localhost another]$  . 
/home/username/.local/share/virtualenvs/another-_QO4qW1u/bin/activate
(another) [username@localhost another]$ 

为什么我不能在项目目录或/home/username/的任何其他直接子目录中创建虚拟环境。是配置问题还是pipenv的工作方式?

0 个答案:

没有答案