Only create new virtualenv when explicitly requested
See original GitHub issueCurrently I can’t find a way to turn on confirmation prompt before creating a new virtualenv. I often call pipenv shell
from the wrong directory and stop it right away, cause it starts to create a new environment. Then I need to remove Pipfile
by hand. This is not convenient. How about adding a confirmation prompt before creating a new venv for some commands like shell
or run
? Or maybe a --create
flag?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:16 (5 by maintainers)
Top Results From Across the Web
venv — Creation of virtual environments — Python 3.11.1 ...
Creation of virtual environments is done by executing the command venv : ... Since explicitly activating a virtual environment is not required to...
Read more >python - Creating a virtualenv with preinstalled packages as in ...
Typically the steps you always takes are: git clone <repo>; cd <repo>; pip install virtualenv (if you don't already have virtualenv installed); virtualenv...
Read more >Virtual environments for absolute beginners — what is it and ...
Virtual. I like to think of a venv as creating a whole new, somewhat lighter environment specifically for this project. We'll see in...
Read more >Option to force Poetry to create a virtual environment, even if a ...
When running poetry install , a venv is not created because Poetry detect that a virtual environment (the Conda one) is already active....
Read more >Python Virtual Environments: A Primer
In this tutorial, you'll learn how to work with Python's venv module to create and manage separate virtual environments for your Python ...
Read more >Top Related Medium Post
No results found
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 FreeTop Related Reddit Thread
No results found
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
Top GitHub Comments
i suggest you use other software if you’re unhappy with the way this software is designed
Well, you said that when I suggested months and months ago we should add an option to choose the python version precisely instead of just --tree/–two. You said ‘never’, and you changed your mind apparently. But I recall you were less rude at the time.
Actually I recall a humble kenneth I’ve watched at conferences talking about love and help, and offering explanation for rejection or requesting PR, not telling people to go to hell.
But maybe you’re having a bad day.