当我跑的时候
pipenv --python 3.7
它是:
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 --rm
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.
You are attempting to remove a virtualenv that Pipenv did not create. Aborting.
Aborted!
因此,我无法创建或删除虚拟环境
我使用mac,并使用自制软件安装python
从错误消息中:
我们可以看到,Pipenv没有创建新的虚拟环境,因为它发现您已经在另一个虚拟环境中运行它。设置^{} 将强制它仍然创建另一个虚拟环境,即使它发现自己已经在一个虚拟环境中运行
相关问题 更多 >
编程相关推荐