I’m preparing to create our first Python subroutine for a UV BASIC program and want to make use of this package that’s not currently installed:
We’re on RedHat 7 and the native OS Python is version 2. What would be the appropriate method of installing new packages specifically for UV’s Python 3? I found a relevant StackExchange post on dealing with packages for multiple Python versions on the same machine, but I don’t know if the package target install location will be correct for UV’s custom setup:
Based on the accepted answer there, I think something like this might work:
/usr/uv/python/bin/python3 -m pip install dicttoxml
but I don’t know if that will result in the package being installed to /usr/uv/python/lib/python3.4, if there’s a way to insure it goes there, or if packages installed there would get wiped out by an upgrade. Is there a recommended way of managing packages for UV?