Trying to import moviepy to use it to extract audio from video files, but i’m getting an invalid syntax error, or it can’t find the program. I think pip is installed correctly but I’m not sure. (i’m running Python 3.12 on windows 11, this is happening in the IDLE shell)
following a tutorial i saw online, i first tried
py -m pip --version
, got an invalid syntax error.
Then proceeded to get the same invalid syntax error for every variation of code I tried. Got a name error when I called help(pip), but it was listed in the available modules.
The syntax i found online was pip install moviepy
but this also resulted in a syntax error.
I’m very new to coding, have no idea what i’m doing wrong.
muireannbh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.