How to Create Virtual Environments in Python

This page summarizes the projects mentioned and recommended in the original post on dev.to

Civic Auth - Simple auth for Python backends
Drop Civic Auth into your Python backend with just a few lines of code. Email login, SSO, and route protection built-in. Minimal config. Works with FastAPI, Flask, or Django.
www.civic.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. pyenv

    Simple Python version management

    Note that virtual environments assume you are using the same global version of Python. Often, this is not the case and additional tools like pyenv can be used alongside virtual environments when you need to switch between versions of Python itself on your local machine.

  2. Civic Auth

    Simple auth for Python backends. Drop Civic Auth into your Python backend with just a few lines of code. Email login, SSO, and route protection built-in. Minimal config. Works with FastAPI, Flask, or Django.

    Civic Auth logo
  3. conda

    A system-level, binary package and environment manager running on all major operating systems and platforms.

    Python's venv module is officially recommended for creating virtual environments since Python 3.5 comes packaged with your Python installation. While there still are additional older tools available, such as conda and virtualenv, if you are new to virtual environments, it is best to use venv now.

  4. virtualenv

    Virtual Python Environment builder

    Python's venv module is officially recommended for creating virtual environments since Python 3.5 comes packaged with your Python installation. While there still are additional older tools available, such as conda and virtualenv, if you are new to virtual environments, it is best to use venv now.

  5. pip

    The Python package installer

    Whenever you are working on a Python project that has external dependencies installed with pip, it is strongly recommended to first create a virtual environment.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Python UV: The Fastest Python Package Manager

    3 projects | dev.to | 27 Jun 2025
  • Rye and Uv: August Is Harvest Season for Python Packaging

    5 projects | news.ycombinator.com | 21 Aug 2024
  • Boring Python: dependency management (2022)

    3 projects | news.ycombinator.com | 4 Feb 2024
  • NPM like init command for pip

    4 projects | /r/Python | 1 Nov 2022
  • For you, data scientist

    2 projects | /r/SteamDeck | 26 Jul 2022

Did you know that Python is
the 2nd most popular programming language
based on number of references?