Beginner question: how do I set up virtual environments in my Python buffer?

This page summarizes the projects mentioned and recommended in the original post on /r/emacs

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. direnv

    unclutter your .profile

    [0]: https://direnv.net/

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. emacs-pet

    Tracks down the correct Python tooling executables from your virtualenvs so you can glue the binaries to Emacs and delete code in init.el

  4. envrc

    Emacs support for direnv which operates buffer-locally

    Also take a look at the envrc package. I think it handles multiple projects better.

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

  • What are people using to organize virtual environments these days?

    3 projects | /r/Python | 14 Jan 2023
  • I created a gist with a full python config with Emacs

    4 projects | /r/emacs | 13 Jan 2021
  • Use .env files for storing development secrets and configuration for .NET Core projects in VS Code

    2 projects | dev.to | 14 Jul 2025
  • Magic .env files built for sharing: Human-first, AI-friendly

    3 projects | news.ycombinator.com | 10 Jul 2025
  • Streamlining Environment Variables with direnv: A Developer's Guide

    2 projects | dev.to | 13 Mar 2025

Did you know that Emacs Lisp is
the 26th most popular programming language
based on number of references?