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
poetry keep recreating virtualenv, in the case of .venv seems to be broken.
#3353
Comments
Hello,
Steps to reproduce:
IssueI recently installed poetry using the command below on a laptop with manjaro
I'm using pyenv with fish shell to run, I also changed the path of virtualenv to be .venv, when I give a poetry install he installs all dependencies, however when I give a poetry shell he says that my .venv is broken there I need to install the dependencies again. For me, the same problem happens as @CircleOnCircles every time I leave virtualenv I need to reinstall all dependencies. |
I solve with this procced:
|
Hello @CircleOnCircles, you cannot move venv folders. If you do so, symlinks used in this folder get's broken. This has nothing to do. It's a limitation of how venv folder work. fin swimmer |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Windows 10 Build 19042.610/Powershell Core 7
Poetry version: Poetry version 1.1.4
Link of a Gist with the contents of your pyproject.toml file: believed not relevant
Issue
To reproduce,
poetry install
.venv
)poetry install
poetry install
Verbose in step 3,4
Expect
The Recreating only happen once in step 3
Workaround
delete
.venv
andpoetry install
The text was updated successfully, but these errors were encountered: