iheanyi / bandcamp-dl

Simple python script to download Bandcamp albums
The Unlicense
956 stars 108 forks source link

SyntaxError: invalid syntax #183

Closed crophyrus closed 3 years ago

crophyrus commented 3 years ago

it just keep popping up. i don't know which step did i miss

Evolution0 commented 3 years ago

Python version? Bandcamp-dl version? OS? Command you tried to run?

E-H-Q commented 3 years ago

I'm having this issue too.

Python version: 3.6.9 bandcamp-dl version: 0.0.10 OS: Ubuntu 18.04.5 Command run: bandcamp-dl https://mareux.bandcamp.com/album/predestiny-ep

I've attached a screen shot of the errors its giving me: 2021-05-23-031827_925x172_scrot

Evolution0 commented 3 years ago

The version of python you listed and the version shown in the error are different, that tells me that bandcamp-dl did not install under Python 3 on your system and is bugging out because type hints were added in 3.5 and its running under Python 2.7.

Did you install using pip3?

E-H-Q commented 3 years ago

Ah, rather embarrassed that I missed something that obvious. Just re-installed using pip3 and now it works like a charm! Thank you very much for your help!