Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and manage Python interpreters #2607

Open
axiomofjoy opened this issue Mar 22, 2024 · 7 comments
Open

Install and manage Python interpreters #2607

axiomofjoy opened this issue Mar 22, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request project-management Related to project management capabilities

Comments

@axiomofjoy
Copy link

uv venv accepts a --python flag that allows the user to specify a path to a particular Python interpreter or version if it is already installed on the machine. I would like for uv to install and manage Python for me, similar to conda create --name env-name python=3.9.

I am really enjoying using uv so far. Keep up the good work!

@zanieb
Copy link
Member

zanieb commented Mar 22, 2024

This is on our roadmap :)

@zanieb zanieb added enhancement New feature or request project-management Related to project management capabilities labels Mar 22, 2024
@zanieb zanieb self-assigned this Mar 22, 2024
@dillfrescott
Copy link

Also looking forward to this!

@zanieb zanieb changed the title install and manage python interpreter Install and manage Python interpreters Apr 19, 2024
@Spenhouet
Copy link

Consider the possibility to specify the required python version via a .python-version file within the project root dir, as suggested here: #1850

@mlissner
Copy link

I just want to chime in to say that I'm evaluating uv right now and my big question was whether and how it would handle installing Python itself. This is embarrassing, but I've been a Python developer for over a decade. I've used pip, virtualenvwrapper, Python 2 and 3, poetry, and more.

Whenever somebody tells me I have to use a specific version of Python, it sucks the life right out of me. I know there are tools for this. I know I use pip or poetry. I know I'm going to lose an hour figuring it all out, just like last time....

So, from my perspective, as a long-time Python dev, but an occasional installer of Python, I'd love to see this!

Thank you for the great tool. Impressive stuff.

@zanieb
Copy link
Member

zanieb commented Apr 24, 2024

We agree it's awfully painful to install and manage multiple Python versions across platforms. We'll be tackling this problem soon.

@Oppen
Copy link

Oppen commented May 21, 2024

In terms of roadmap, is there any particular release that should have it or is it still the indeterminate future? I'd love to get rid of pyenv and need to set appropriate expectations 👀

@zanieb
Copy link
Member

zanieb commented May 21, 2024

It's next on my list of projects, following tool management (#3560) and rewriting interpreter discovery (#3266)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request project-management Related to project management capabilities
Projects
None yet
Development

No branches or pull requests

6 participants