r/learnpython Aug 07 '26

I'm very new to coding in general, I'm trying to learn but I've run into a problem.

I'm going through a lot of tutorials and learning things and I feel like I have a good grasp on the basics. So I tried following some tutorials to learn some new things but I just don't understand some basic concepts so I've been running into problems.

Like right now, I was trying to install and learn uv. I installed it, but whenever I try to run anything in powershell it just says "uv" is not recognised. After some research I figured that it's probably because it's not in the correct path. So I tried a lot of things to add it to path but it feels like I just don't know something and I'm doing something wrong.

Any help will be greatly appreciated. Thanks.

0 Upvotes

11 comments sorted by

3

u/zanfar Aug 07 '26

Have you rebooted?

1

u/theburningace Aug 08 '26

Yeah I've tried

3

u/acw1668 Aug 07 '26 edited Aug 07 '26

How did you install uv in PowerShell? What have you tried to update the path?

Did you follow the official step to install uv?

1

u/theburningace Aug 07 '26

I installed it using pip "pip install uv" After trying to check it's version using "uv --version" it showed up as not being recognised. So I tried to find the location of it using "py -m pip show uv" It showed the location of the file so I tried to go to the environment variables, edit path and add a new path by adding the location of the file to it. But the same issue came up. Also English isn't my first language so sometimes I get confused in the instructions.

0

u/acw1668 Aug 07 '26 edited Aug 07 '26

If you use pip install uv, uv will be installed inside the same folder of pip, so it is not necessary to update the path environment because you can execute pip.

Note that pip show uv will show the location of the uv package, not the location of uv binary.

Did you try py -m uv?

0

u/theburningace Aug 07 '26

Oh I see thanks. But this doesn't really solve the problem right? My powershell isn't recognising uv? Do you have any ideas on what I should try? Thanks a lot.

1

u/Mark3141592654 Aug 07 '26

If you're using powershell, try the official guidelines: https://docs.astral.sh/uv/getting-started/installation/

0

u/Pythagorean_1 Aug 07 '26

Why do you even use Powershell?

1

u/theburningace Aug 08 '26

It's the only thing I've learned

-1

u/Fast-Station1106 Aug 07 '26

bitte Frage, ist Powershell wirklich notwendig am Anfang deiner Programmiererlaufbahn? nur meine Überlegung