About 400 results
Open links in new tab
  1. Python Virtual Environments: A Primer – Real Python

    Creating a Python virtual environment allows you to manage dependencies separately for different projects, preventing conflicts and maintaining cleaner setups. With Python’s venv module, you can …

  2. Working With Python Virtual Environments

    A Virtual Environment (or “virtualenv”, “venv” for short) is an isolated Python environment. Physically, it lives inside a folder containing all the packages and other dependencies, like native-code libraries …

  3. virtual environment | Python Glossary – Real Python

    In Python, a virtual environment (or “venv”) is a directory containing all the files and executables needed to support a functional Python environment. It allows you to maintain project-specific dependencies …

  4. venv | Python Standard Library – Real Python

    The Python venv module provides support for creating isolated Python virtual environments. This allows you to manage dependencies for different projects separately, preventing conflicts and ensuring that …

  5. Managing Python Projects With uv: An All-in-One Solution

    Apr 28, 2025 · Instead, you’re just creating a virtual environment and installing a package for testing purposes. While the pip interface is available for use cases like this, it’s not intended for project …

  6. Managing Multiple Python Versions With pyenv – Real Python

    Sep 1, 2025 · You’ve seen the pyenv local command before, but this time, you specify a virtual environment instead of a Python version. This command creates a .python-version file in your current …

  7. Setting Up Your Environment (Video) – Real Python

    Before you start writing any Flask code, you should set up a virtual environment. This step is crucial for organizing your project and managing its dependencies.

  8. Creating a Virtual Environment (Video) – Real Python

    This lesson covers how to create a virtual environment in a project folder. You learned that following the steps below will install a self contained Python environment in your project directory:

  9. Install and Execute Python Applications Using pipx

    Once you identify a Python package with entry points that you’d like to use, you should first create and activate a dedicated virtual environment as a best practice.

  10. An Effective Python Environment: Making Yourself at Home

    You can think of a virtual environment as a carbon copy of a base version of Python. If you’ve installed Python 3.7.3, for example, then you can create many virtual environments based off of it.