question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
beebcommented, Aug 11, 2020

Just use exit to close the shell

2reactions
adam-grant-hendrycommented, Aug 12, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found