虚拟环境将我的终端更改为-bash-3.2 $

时间:2019-08-09 19:04:36

标签: python-3.x bash terminal pipenv virtual-environment

我正在尝试通过pipenv命令在Mac OS El Capitan的终端中创建虚拟环境。该命令成功创建了环境和文件(PipfilePipfile.lock)。当我尝试使用pipenv激活虚拟环境时,shell终端更改为bash-3.2$

Dimitriss-MacBook-Pro:FlaskProject DS$ pipenv install
Creating a Pipfile for this project…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (a65489)!
Installing dependencies from Pipfile.lock (a65489)…
  ?   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Dimitriss-MacBook-Pro:FlaskProject DS$ pipenv shell
Launching subshell in virtual environment…
bash-3.2$  . /Users/DS/.local/share/virtualenvs/FlaskProject-7FXDmQ2z/bin/activate
(FlaskProject) bash-3.2$ 

0 个答案:

没有答案