Skip to content

SyntaxError: invalid syntax in downloading from Category #16

@marlara

Description

@marlara

I used pip to install CommonsDownloader and I'm using python 3.6 on Ubuntu. 18.04 When I run this command:

download_from_Wikimedia_Commons --category Giovanni_Battista_Moroni --output ~/path
I get the following error:

 File "/home/user/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.6/dist-packages/commonsdownloader/commonsdownloader.py", line 104
    except DownloadException, e:
                            ^
SyntaxError: invalid syntax

Is it something I'm doing wrong?
Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions