Virtual Environments in Python: How to Create Step by Step [Linux and Windows]

Опубликовано: 18 Июнь 2026
на канале: Café e Computação
951
105

In this video, I show you how to create and use virtual environments in Python on the two most popular operating systems: Linux and Windows. If you're just starting out with Python or want to better organize your projects, learn how to use venv, manage dependencies, and isolate your workspace, this guide will help you step by step.

👨‍💻 What we'll learn:

🔹What a virtual environment is in Python and why use it
🔸How to create a virtual environment using python -m venv on Windows
🔹How to do the same on Linux (terminal, permissions, activation)
🔸How to install packages within the environment and activate/deactivate them correctly
🔹Best practices to avoid dependency "mess" across multiple projects

✅ Ideal for those who:

🔸Beginning to develop in Python
🔹Already use Python but still mix dependencies between projects
🔸Use both Windows and Linux and want a similar workflow on both

Of course you liked it, right?! So don't forget to like, subscribe to the channel, and activate the bell to receive notifications of new videos every week. Thank you for being part of this technological journey! 💙✨

#python #technology #tutorial #tech #technology

About me:

I'm a computer scientist who works as a freelance developer. If you need professional help developing a project, contact me. I can develop it for you or work as a consultant on your project!

I also teach private lessons on programming or computer-related subjects, just contact me xD

Contact me by email: [email protected]

I can help you gain experience with computing in a light, yet solid way!

Find me on social media:
GitHub: Hemilibeatriz
LinkedIn: Hemili Trindade
Instagram: @hemilibeatriz

Contribute to the channel:
Pix code: [email protected]
Any donation is greatly appreciated ❤!