`pip shell` doesn't prepend virtualenv name to bash prompt
See original GitHub issueFor bash shell, when I try activating virtualenv by pip shell
, it doesn’t prepend virtualenv name before bash prompt.
$ # Global pip
$ pip freeze | wc -l
61
$ pipenv shell
Spawning environment shell (/bin/bash).
$ pip freeze
$ # Means we are inside virtualenv as there is no package
$ which python
/XXXXXX/.venv/bin/python
$ source .venv/bin/activate
(playpipenv) $
It might be my bashrc. Will wait till anyone confirms it. Thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (11 by maintainers)
Top Results From Across the Web
virtualenv name not show in zsh prompt - Stack Overflow
First add virtualenv dependency under plugin in file .zshrc If this doesn't work for you, then it means that the theme(one of oh-my-zsh...
Read more >How to display the name of the current Virtualenv?
In venv created by virtualenvwrapper, the bin/activate script contains code to pre-pend the venv name to both zsh and bash prompts! – Erikw....
Read more >Pipenv: Python Dev Workflow for Humans - Read the Docs
It automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your Pipfile as you install/uninstall packages.
Read more >Configure a Pipenv environment | PyCharm Documentation
If you skip this procedure, PyCharm will prompt you to specify the path to the pipenv executable when adding a pipenv environment. Windows....
Read more >Can't see python virtual environment name in bash prompt ...
When it is active, I mean after exec bash , if I create a virtual environment with virtualenv venv and subsequently activate it...
Read more >
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In windows prompt, no name is appended even when -c is used.
@jessebraham Well I don’t know why you get two new lines after the Spawning statement. However, the printed source statement should be expected.