Skip to content

Environment name missing brackets in newer Python versions in VSCode terminal #503

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

Open
leo-maxwell opened this issue Feb 20, 2025 · 2 comments

Comments

@leo-maxwell
Copy link

It's a minor issue generally but it annoys me a little. After installing the latest version 3.13.2 using pyenv install 3.13.2 and pyenv virtualenv 3.13.2 ENV_NAME, the ENV_NAME in VSCode terminal does not have the brackets, as shown in this pic:

Image

However, after pyenv virtualenv uninstall ENV_NAME and pyenv virtualenv 3.12.7 ENV_NAME and restarting the VSCode in the same folder, typing anything in the VSCode terminal will make the prompt look like this, with brackets:

Image

Hence I am curious about it. Why, and how to overcome it?

@leo-maxwell
Copy link
Author

PS: I am using the latest version of every package possible. I updated VScode and performed brew update && brew upgrade. The OS is macOS 15.3 and the model is a Macbook Pro 2021.

@native-api native-api transferred this issue from pyenv/pyenv Feb 23, 2025
@native-api
Copy link
Member

Need diagnostic info as per the issue template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants