KraXen72 / shira

Download music from YouTube, YouTube Music and Soundcloud, with great metadata and little effort.
MIT License
48 stars 3 forks source link

"invalid syntax" when trying to download. #6

Closed whatsupimr closed 3 months ago

whatsupimr commented 3 months ago

Capture

Please help me. I don't know what I'm doing wrong to cause this invalid syntax. I have ffmpeg installed, as well as python 3.8. I've installed the pip-install typing-extensions too. I have other projects that use 3.8 and I don't want to break them. I'm kinda new to using GitHub projects so please forgive me :,)

KraXen72 commented 3 months ago

Hi! thanks for making the issue. i'm using match case (pattern matching) is only supported from python 3.10, and the project says it requires python 3.11 at least. that's what the error is about. try installing python 3.11 with scoop, a package manager for windows. the link tells you how to install it and then the srcreenshot tells you want to run to install python 3.11. image

after that you can use python311 -m shiradl since i've seen this issue pop up a few times already, i'll see if i can lower the required version to 3.8. no promises on when that update is going to come out though.