Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

(🐞) venv info not showing in powershell and cmd prompt #4996

Closed
3 tasks done
KotlinIsland opened this issue Jan 6, 2022 · 1 comment · Fixed by #5053
Closed
3 tasks done

(🐞) venv info not showing in powershell and cmd prompt #4996

KotlinIsland opened this issue Jan 6, 2022 · 1 comment · Fixed by #5053
Labels
kind/bug Something isn't working as expected

Comments

@KotlinIsland
Copy link
Contributor

  • 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
  • Poetry version: Poetry (version 1.2.0a2) / Poetry version 1.1.12
  • Link of a Gist with the contents of your pyproject.toml file: N/A

Issue

I've been messing around with trying to get the env details to appear in the shell prompt, but barely any shells seems to want to show and I can't figure out why.

PS C:\Users\amongus\temp> poetry shell
Spawning shell within C:\Users\amongus\AppData\Local\pypoetry\Cache\virtualenvs\test-qEduk6Cs-py3.11
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\amongus\temp> exit
PS C:\Users\amongus\temp> C:\Users\amongus\AppData\Local\pypoetry\Cache\virtualenvs\test-qEduk6Cs-py3.11\Scripts\activate.ps1
(test-qEduk6Cs-py3.11) PS C:\Users\amongus\temp>
C:\Users\amongus\temp>poetry shell
Spawning shell within C:\Users\amongus\AppData\Local\pypoetry\Cache\virtualenvs\test-qEduk6Cs-py3.11
Microsoft Windows [Version 10.0.19044.1415]
(c) Microsoft Corporation. All rights reserved.

C:\Users\amongus\temp>exit
C:\Users\amongus\temp>C:\Users\amongus\AppData\Local\pypoetry\Cache\virtualenvs\test-qEduk6Cs-py3.11\Scripts\activate

(test-qEduk6Cs-py3.11) C:\Users\amongus\temp>
@KotlinIsland KotlinIsland added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jan 6, 2022
@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 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
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants