Skip to content

How to disable "To activate this project's virtualenv..." message #6287

Open
@George-Madeley

Description

@George-Madeley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contributor CandidateThe issue has been identified/triaged and contributions are welcomed/encouraged.quiet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions