Python quickstart using uv: Difference between revisions

Tutorial on how to use uv on NixOS, and how to deal with the "Sure-to-happen" issue of not being able to run dynamically linked executables.
 
m changed 1 word
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:


= Tutorial: Quickstart with uv for Python on NixOS =
This tutorial shows the most straightforward way to install and use [https://github.com/astral-sh/uv uv] with Python on NixOS. It covers installation, project initialization, adding dependencies, and handling the most common error.
This guide shows the fastest way to install and use [https://github.com/astral-sh/uv uv] with Python on NixOS. It covers installation, project initialization, adding dependencies, and handling the most common error.


It is also important to note that, as mentioned in the [[Python#using_uv]] article, '''you do not need to install Python as a system package''', and you can instead install it through uv itself.
It is also important to note that, as mentioned in the [[Python#using_uv]] article, '''you do not need to install Python as a system package''', and you can instead install it through uv itself.
Line 59: Line 58:
== See also ==
== See also ==
<references />
<references />
[[Category:Tutorial]]
[[Category:Python]]
[[Category:Uv]]
[[Category:Configuration]]