Replies: 2 comments 3 replies
-
@jromal Hey, I'm getting this error when trying to run chatter.py (sorry I'm a noob at this, just wondering if you'd know why this is?) Thanks!
|
Beta Was this translation helpful? Give feedback.
3 replies
-
@jromal agree on uv! I was going to submit a PR to change to uv - unless you already have a pyproject.toml etc setup and ready to submit? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I do not use pip anymore since more than half a year. UV from Astral is the only tool you need to run python without installing python and ignoring package versions.
For this, just add the following to the upper part of the "Chatter.py" file.
You can use:
# url = "https://download.pytorch.org/whl/cpu"
in case you run it on CPU.After you have installed uv. See here: https://docs.astral.sh/uv/getting-started/installation/
Or if you are in windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Then just run:
uv run Chatter.py
on the folder where you have put this excellent fork.Beta Was this translation helpful? Give feedback.
All reactions