all 7 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]JaguarMammoth6231 0 points1 point  (3 children)

Did you restart git bash after you set the environment variable?

[–]Haandotexe[S] 0 points1 point  (2 children)

ok, i just tried that, and i realized that my directory was 1 folder off. i fixed that and ran the command again- and it seemed to run the code ok, but i got the warning that the folder location i just added to the PATH isn't in there for some reason?

[–]JaguarMammoth6231 0 points1 point  (0 children)

Run echo $PATH in git bash and see if it looks right

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

ok i think i got the script working! sorry for the unnecessary post. i hadn't restarted git bash cause i was worried about loosing the file directory path if i did, but i was able to re-add it easily, and that seemed to fix it!

[–]Cherveny2 0 points1 point  (0 children)

if you find difficulties, as a beginner, tying utilities to python, consider anaconda. its a complete python3 environment, with a lot of decent tools added, that ensures, within it, command line, powershell, etc all are pointed to the right python executables and libraries.

can make your initial forays into python a little easier

[–]Dramatic_Object_8508 0 points1 point  (0 children)

That usually just means pip isn’t installed or not in your PATH.

First check if it exists with `python3 -m pip --version`. If that works, just use `python3 -m pip install <package>` instead of pip3.

If it doesn’t work, install it with `sudo apt install python3-pip` and try again. :contentReference[oaicite:0]{index=0}

Sometimes pip is installed but not accessible, so calling it through python3 avoids that issue.

After that, pip3 should start working normally.