Skip to content

Instantly share code, notes, and snippets.

@reidjs
Created June 24, 2025 18:40
Show Gist options
  • Select an option

  • Save reidjs/b969ba732842fa88e4ffaedea376eef4 to your computer and use it in GitHub Desktop.

Select an option

Save reidjs/b969ba732842fa88e4ffaedea376eef4 to your computer and use it in GitHub Desktop.

Revisions

  1. reidjs created this gist Jun 24, 2025.
    8 changes: 8 additions & 0 deletions pythonvenv.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    1. Install direnv
    https://direnv.net/

    2. Create a .envrc with this line in it:
    `layout python $(which python3)`

    3. Run `direnv allow` in the folder