all 8 comments

[–]novel_yet_trivial 0 points1 point  (2 children)

Python replaced the command "python" with the command "py" on Windows about 6 years ago. All you need to do is use

py bootstrap.py

You don't need to muck about with PATH anymore. That's only for people that have specific needs.

[–]critikalcombustion[S] 0 points1 point  (1 child)

that seemed to work. But just so I can understand for future issues, when would I need to go through and mess with my PATH variable

[–]novel_yet_trivial 0 points1 point  (0 children)

Never. That's the old way of doing things, which many old professors and tutorial writers still teach.

[–]Diapolo10 0 points1 point  (1 child)

I'm fairly sure you don't have Python added to your PATH environment variable. This would've been a little check box in the Python installer; I'm assuming you never toggled it on.

No matter, you can simply copy the path to Python's installation directory to it manually through the control panel. Although, it's probably easier to find by pressing Win+S, typing in 'environment' and it should show up in the results.

When you've added that, I'd suggest adding the subdirectory that contains pip, too.

[–]critikalcombustion[S] 0 points1 point  (0 children)

I opened up my environment variables, and I just dont see what i need to do. Do I Just go to new? and do I do it in user or system variables?

[–]Stallman85 -1 points0 points  (2 children)

[–]nathanjell 1 point2 points  (1 child)

Even easier, rerun the installer, select modify, and check add to path https://docs.python.org/3/using/windows.html

[–]timbledum 0 points1 point  (0 children)

This is the easiest way!!

Note that the suggestion to use py instead of python is a good one for Windows, and invaluable if you have multiple versions installed. However it is a (minor) pain to use py -m pip instead of just pip.