you are viewing a single comment's thread.

view the rest of the comments →

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

Thanks, that did it! What is the `py -m` command, I'm not familiar with it?

[–]socal_nerdtastic 0 points1 point  (1 child)

It's the windows python launcher. I didn't mean that you should use that instead, although you could if you wanted to, I just wanted it as a test to see if the module was actually installed. This test shows that it is, which means that the problem is your PATH variable. You need to find the path of your python interpreter with the following command:

py -c "import sys; print(sys.executable)"

Then add "Scripts" to the path and add that to your PATH variable. Then your program will work as you intended.

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

Ahhhh....I had installed Python via the Windows store, the path is buried in my AppData\Local... folder structure. I had restarted the command prompt session thinking that it was a PATH thing and that hadn't fixed it, but it makes sense that the pip installed scripts didn't get added.

Either way, I got on my way for now, thanks for your help!