Easier use of package manager uv in the form of conda.
🗺️ ENGLISH | 简体中文
It's true that using uv for python package management is many times faster than conda+pip, but it also suffers from less convenient support for multiple versions of python. So I wrote this script to simplify the process.
First you need to install package manager uv and conda (miniconda is recommended).
Where conda is to provide multiple versions of python.
Then run:
git clone https://github.com/Menghuan1918/uvv
cd uvv
git pull
sh Install.sh
Just restart your terminal. I've tested it on:
- bash(Linux)
- zsh(Linux)
- git bash(windows)
Or you can download the uvv
file separately and add source uvv
to your terminal configuration
uvv create -n gpt -p 3.11
uvv activate gpt
uvv deactivate
uvv remove gpt
For more details you can refer to uvv help
.
Just specify the location, e.g. the environment location for this is at /home/menghuan_go/.venv/gpt/bin/python
.