environments
Environments
Update Outdated Packages
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U UV
# Initialized project in current dir with pyproject
uv init
# To migrate from requirements.txt
uv add -r requirements.txt
# To sync environment with listed dependencies
uv sync
uv add 'requests==2.31.0'
uv add ruff
uv run ruff check
uv remove requestsCreating Specific Envs
Other
Venv
Conda/Mamba
Creation:
Usage
Installation
Inspection:
Removal:
EXPORT:
More:
And Jupyter notebook
Poetry
Differences of Poetry vs Pipenv
Installation
Usage
Pipenv
Pipenv vs virtualenv
Setup
Usage
Last updated