首页 > 解决方案 > Pipenv 总是发现自己在一个 virtualenv 中

问题描述

我的 Pipenv 似乎总是认为它在虚拟环境中,即使它显然不是:

$ cd /tmp/                                                      
/tmp $ mkdir hello                                                                       
/tmp $ cd hello/                                                                         
/t/hello $ pipenv install --python 3.8 --dev pylint                                      
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.

我怎样才能解决这个问题?

标签: pipenv

解决方案


推荐阅读