ImportError: attempted relative import with no known parent package

Author: jacqui-up-for-teaCreated Jul 20, 2020Updated Jul 20, 2020

Hi, when I try to run your code I receive this message. Can you please assist me about this? Thanks.

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "google_images_download/__main__.py", line 4, in <module>
    from .__init__ import main
ImportError: attempted relative import with no known parent package

Source: hardikvasa/google-images-download