-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Activate poetry virutal env in VSCode on Windows 10 #1136
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm on MacOS now but this issue is still not resolved. |
Also having this issue on Windows 10 with the latest version of poetry |
Can you try the latest releases? See if #2147 fixed this? |
I've tested this with the latest release and it doesn't seem like anything has changed regarding this issue
|
@pwildenhain looks like you no longer have the "cannot detect shell" error when executing If you are using
You could also try the verison on master. |
You are correct, maybe I'll look more down the virtualenv path -- thanks! |
Closing this for now based on above comments. |
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. |
-vvv
option).Issue
I have an issue on Windows 10 when trying to activate the virtual environment. I use Visual Studio Code and I have configured the Terminal of VSCode to use git bash. So when I open the Visual Studio code terminal an execute
poetry shell -vvv
I getActivating the environment seems to work when I open the command prompt outside of VSCode BUT there's no tag in the terminal that indicates an active environment. With tag I mean instead of
the terminal should look like this:
However, the tag (I don't know if it's the proper name) appears if I do the following:
poetry debug:info
in the project folder in the command prompt* Path:
from the output of the command in step 1\Scripts\activate
to the copied value from step 2 like soC:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\my-project-py37\Scripts\activate
and hit enter in the command promptAny solutions for this? I really want to use poetry from the git bash terminal in VSCode so any help with this would be awesome. Thanks!
The text was updated successfully, but these errors were encountered: