Last active
April 17, 2025 23:53
-
-
Save rahulbhadani/2848c101d133b070c44de424b30dc60e to your computer and use it in GitHub Desktop.
UV Enviornment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start a new project | |
uv init --lib --package dev --build-backend maturin --author-from "Rahul Bhadani" | |
cd dev | |
# install python | |
uv install python 3.12 | |
# create a virtual environment | |
uv venv --python 3.12 | |
# activate virtual environment | |
source .venv/bin/activate | |
# Source: https://flocode.substack.com/p/044-python-environments-again-uv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment