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

Poetry creates multiple environments on the same computer, same path #4650

Closed
eblis opened this issue Oct 18, 2021 · 5 comments
Closed

Poetry creates multiple environments on the same computer, same path #4650

eblis opened this issue Oct 18, 2021 · 5 comments
Labels
kind/bug Something isn't working as expected

Comments

@eblis
Copy link

eblis commented Oct 18, 2021

  • Checked checkbox should look like this: [x] -->
  • [X ] I am on the latest Poetry version.
  • [ X] I have searched the issues of this repo and believe that this is not a duplicate.
  • Windows 10 x64:
  • Poetry 1.1.11:

Poetry env info

poetry env info

Virtualenv
Python:         3.9.6
Implementation: CPython
Path:           C:\Users\f4gwhkr\AppData\Local\pypoetry\Cache\virtualenvs\dtt-xc0anUwY-py3.9
Valid:          True

System
Platform: win32
OS:       nt
Python:   c:\program files\python39

Issue

Poetry re-creates my environment and I'm not sure why it does this.
I have 2 separate folders with the "DTT" environment, although the project is on the same folder on the machine. I did change git branches at one point, but that shouldn't create a new environment.
image

I'm not sure if it's related, but I need to delete the cache directory "artifacts", i have the bug where the path is wrong and Poetry fails to find any cached library.

@eblis eblis added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Oct 18, 2021
@finswimmer
Copy link
Member

Hello @eblis,

could it be something like this: #2419 ?

fin swimmer

@finswimmer finswimmer added the status/waiting-on-response Waiting on response from author label Oct 18, 2021
@eblis
Copy link
Author

eblis commented Oct 18, 2021

I think it's similar, but if I understand the other issue correctly you have to change the case of the folder for it to happen, in my case I haven't changed anything

@eblis
Copy link
Author

eblis commented Oct 18, 2021

Hmm, could it be generated somehow by the Poetry plugin for PyCharm ?

@eblis
Copy link
Author

eblis commented Oct 19, 2021

I think the culprit is Poetry plugin for PyCharm, I have deleted the other folder and it re-appears when the plugin runs its commands in the backround.

@eblis eblis closed this as completed Oct 19, 2021
@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
@mkniewallner mkniewallner removed the status/waiting-on-response Waiting on response from author label Jun 11, 2022
Copy link

github-actions bot commented Mar 2, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

4 participants