Method to Exit Poetry Virtual Environment
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
Related to #1057. Please add poetry exit
or equivalent to exit virtual environment.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Managing environments | Documentation - Poetry
To achieve this, it will first check if it's currently running inside a virtual environment. If it is, it will use it directly...
Read more >Poetry | Dev Cheatsheets - Michael Currin
Activate environment. This creates a subshell, so when you exit the subshell no changes are persisted. $ poetry shell.
Read more >How to leave/exit/deactivate a Python virtualenv - Stack Overflow
There is a command to workon "nothing" - it displays all your available virtual environments, which is pretty nifty. Just type "workon" with...
Read more >Python Virtual Environments tutorial using Virtualenv and Poetry
To deactivate virtual environment in order to use system Python both in PyCharm, IntelliJ IDEA and VSCode you need to set Python System ......
Read more >Poetic Simplification of Python Virtual Environments
Poetry automatically creates and manages virtual environments in addition to adding or removing packages as you install/uninstall packages from your project.
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 Free
Top 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
Just use
exit
to close the shell@beeb I see, okay. Is there a reason why
poetry
insists on spawning a new shell? This may cause issues for developers who want to use environments like vscode, atom, pycharm, etc., that all have the console/shell built-in to the editor. I’m sure it will be an inconvenience to have to handle an additional pop-up window when the point of these environments is to have everything all in one place.