-
Notifications
You must be signed in to change notification settings - Fork 934
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
uvx on old mac #9532
Comments
uvx is trying to run a module, and python is not a module I think. |
thanks,
actually also running I think I got tricked by the example in the documentation where the example is that gives me the following error
|
@Stegallo Can you run Edit:
However, since the documentation states that it will find a compatible version, and pycowsay: |
however the issue still happens with a command like black
|
@Stegallo I just want to say it's normal not to use Python 2.7. |
@FishAlchemist maybe I have a misunderstanding of the use cases for uvx. The way I understand it is that I can use uvx if I don't want to explicit install the newest version of python (3.13) on my system for using modern python tools, especially on an old machine where python2.7 is still used by the system. I don't think this is critical as we are talking about old machines and I have a functioning workaround. |
I think the problem is
Can you confirm? |
Thanks @zanieb
I installed it via |
I apologies if off topic or already answered.
I'm on an old mac with system python2.7
I do not want to modify the system python, so I'm thinking of using uv (uvx) to have a self contained environment independent from the system. I installed uv 0.5.5 (and I validated that it works perfectly if I create a venv with
uv venv .venv
and then I activate)when I try to use uvx running the following:
uvx --python 3.13 python -c 'print("hello world")'
I got this error
is uvx not supposed to run on old systems where python2.7 is the default ?
The text was updated successfully, but these errors were encountered: