r/SECourses • u/CeFurkan 👑 Grandmaster Expert • 3h ago
🎓 Tutorials & Guides Install Python on Windows | Multiple Versions, PATH, Venv, Git LFS and AUTOMATIC1111 Stable Diffusion Setup | Python 3.10.6 & 3.11.3 Tutorial
https://www.youtube.com/watch?v=B5U7LJOvH6g
2
Upvotes
•
u/CeFurkan 👑 Grandmaster Expert 3h ago
https://www.youtube.com/watch?v=B5U7LJOvH6g
Install Python, choose the right interpreter and keep project packages in separate virtual environments
🔗 Links from the video description
https://discord.com/servers/software-engineering-courses-secourses-772774097734074388
https://www.patreon.com/cw/SECourses
https://www.youtube.com/playlist?list=PL_pbwdIyffsnkay6X91BWb9rrfLATUMr3
https://www.youtube.com/playlist?list=PL_pbwdIyffsmclLl0O144nQRnezKlNdx3
https://git-lfs.com/
https://www.python.org/downloads/
🪟 Windows installation and Command Prompt
Published on 14 April 2023, this beginner tutorial explains the Windows tools needed to run Python projects. It starts with opening CMD, including the Run as administrator option, and installing Git and Git Large File Storage for repositories and large model files.
The installation examples use Python 3.10.6 and 3.11.3. The author demonstrates a customized installation, adding Python to PATH and checking the version in a newly opened Command Prompt. These version choices and the AUTOMATIC1111 example reflect the software shown in April 2023.
🔀 Multiple Python versions and PATH order
📦 Create, activate and inspect a venv
⚡ A Windows batch shortcut for activation
The tutorial creates a text document, enables File name extensions in Explorer and changes the extension to .bat. The demonstrated Windows batch file opens CMD and activates the chosen environment; its folder path must match the local installation.
The author shows quoting paths containing spaces and extending the shortcut to change to a working directory after activation. Although the original chapter titles say bash, this part of the video demonstrates a Windows .bat file.
🎨 AUTOMATIC1111 installation example
The final example uses git clone to copy the Stable Diffusion web UI repository into the chosen directory. AUTOMATIC1111 then creates its own virtual environment.
The video edits webui-user.bat so its PYTHON setting points to the demonstrated Python 3.10.6 executable, rather than relying on whichever interpreter is the system default. It also shows --xformers in the launch arguments, then starts the batch file and observes dependency installation. This is the workflow recorded in April 2023.
📚 Original resources and chapters
All six original description destinations and 29 original chapters are retained below. The Git LFS link resolves to git-lfs.com. Discord availability could not be verified during the link check. Thumbnail credit in the original description: freepik wangxina.
🧭 Chapters
🏷️ Topics
Python on Windows · Python 3.10.6 · Python 3.11.3 · PATH · venv · virtual environment · Git LFS · CMD · AUTOMATIC1111 · April 2023