I have a bash script that install the dependencies from a pipenv file and then runs a series of different commands. However, it does not activate a shell. When I run pipenv install or pipenv run, I get the following message:
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Due to the amount of times I need to run pipenv install, this message ends up cluttering my CLI. It also makes it a lot harder to see the messages I want echoed from my bash script. I want to disable this message from appearing.
I have tried export PIPENV_VERBOSITY=-1 and --quiet but neither work. I've tried activating the shell prior to running any commands with pipenv shell but that launches an interactive shell and wont continue executing my script until I run exit.
I have a bash script that install the dependencies from a pipenv file and then runs a series of different commands. However, it does not activate a shell. When I run
pipenv install
orpipenv run
, I get the following message:Due to the amount of times I need to run
pipenv install
, this message ends up cluttering my CLI. It also makes it a lot harder to see the messages I want echoed from my bash script. I want to disable this message from appearing.I have tried
export PIPENV_VERBOSITY=-1
and--quiet
but neither work. I've tried activating the shell prior to running any commands withpipenv shell
but that launches an interactive shell and wont continue executing my script until I runexit
.