Skip to content

Easier use of package manager uv in the form of conda. 以conda的形式更轻松的使用包管理器uv。

License

Notifications You must be signed in to change notification settings

Menghuan1918/uvv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uvv

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.

Installation

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)

gitbash zsh

Or you can download the uvv file separately and add source uvv to your terminal configuration

Use

Create a virtual environment named gpt with Python version 3.11

uvv create -n gpt -p 3.11

Activate the environment you just created

uvv activate gpt

Deactivate this environment

uvv deactivate

Remove this environment

uvv remove gpt

For more details you can refer to uvv help.

Use in VSCode

Just specify the location, e.g. the environment location for this is at /home/menghuan_go/.venv/gpt/bin/python.

image

About

Easier use of package manager uv in the form of conda. 以conda的形式更轻松的使用包管理器uv。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages