Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
George-Madeley opened this issue Oct 28, 2024 · 0 comments
Open
Labels
Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. quiet

Comments

@George-Madeley
Copy link

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.

@matteius matteius added Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. quiet labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. quiet
Projects
None yet
Development

No branches or pull requests

2 participants