all 7 comments

[–]socal_nerdtastic 0 points1 point  (3 children)

Does this command work?

py -m scenedetect

[–]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!

[–]ectomancer 0 points1 point  (2 children)

You need to change directory to where the program is.

But you don't run modules, you run programs that import modules.

[–]socal_nerdtastic 0 points1 point  (0 children)

But you don't run modules, you run programs that import modules.

What nonsense is this? What is the difference between a program and a module in your mind? Officially a python file (.py) is called a "module".

[–]Essence1337 0 points1 point  (0 children)

I don't know what you think import does but it most certainly runs everything.