-
-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Documentation Fix: Remove .bat when activating venv on windows #91249
Comments
https://docs.python.org/3/tutorial/venv.html For windows, tutorial-env\Scripts\activate.bat doesn't appear to set up venv successfully. Instead, tutorial-env\Scripts\activate (without .bat) works. This may confuse new users if this is not rectified. |
Running In Windows 10+, if you use a case-sensitive directory for the virtual environment, note that the script name for PowerShell is "Activate.ps1". PowerShell 7+ checks the directory for any name that case-insensitively matches "activate", but you'll have to run |
Do you think it's worth changing it to just activate and adding a footnote mentioning the variations as I've been a dev for a few years now and it stumped me for a minute as I work in a few different envs. Mainly thinking of making setting up venv's as easy as possible for new comers with one less roadblock on their journey. |
Hey @jovinator do you mind if I work on this issue? |
Sure!
…On Thu, 5 May 2022 at 14:31, yashlad681 ***@***.***> wrote:
Hey @JoVinator <https://github.com/JoVinator> do you mind if I work on
this issue?
—
Reply to this email directly, view it on GitHub
<#91249 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKTRRWWERMK5NWKXTYD3KHDVIPESHANCNFSM5VFCRLVQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hey @JoVinator |
Removing the |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: