Traceback (most recent call last):


 "/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,


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code

exec(code, run_globals)


 "google_images_download/__main__.py", line 4, in <module>

from .__init__ import main
ImportError: attempted relative import with no known parent package

Traceback (most recent call last):


 "/home/user/.config/cudatext/py/cuda_python_intel/jedi/inference/syntax_tree.py", line 701, in tree_name_to_values

types = context.predefined_names[node][tree_name.value]
KeyError: <ForStmt: for (index, b) in enumerate(buttons):
fn = opt.decode_fn(b['icon'])
imageindex = None
if fn:
imageindex = imagelist_proc(imglist, IMAGELIST_ADD, fn)
if imageindex is None:
imageindex = -1
_cmd = b['cmd']
is_menu = _cmd=='menu'
if is_menu:
_cmd = 'toolmenu:id'+str(index)
# prevent duplicate btns on "reset python plugins"
if is_button_present(b['cap'], _cmd):
continue
if is_menu:
toolbar_proc('top', TOOLBAR_ADD_MENU)
else:
toolbar_proc('top', TOOLBAR_ADD_ITEM)
cnt += 1
btn = toolbar_proc('top', TOOLBAR_GET_BUTTON_HANDLE,
index=cnt-1 )
nkind = BTNKIND_SEP_HORZ if b['cap']=='-' \
else BTNKIND_TEXT_ONLY if imageindex<0 \
else BTNKIND_ICON_ONLY if not b['cap'] \
else BTNKIND_TEXT_ICON_HORZ
button_proc(btn, BTN_SET_TEXT, b['cap'])
button_proc(btn, BTN_SET_HINT, b['hint'])
button_proc(btn, BTN_SET_DATA1, _cmd)
button_proc(btn, BTN_SET_DATA2, b.get('lexers', ''))
button_proc(btn, BTN_SET_IMAGEINDEX, imageindex)
button_proc(btn, BTN_SET_KIND, nkind)
if b['cap']:
button_proc(btn, BTN_SET_ARROW_ALIGN, 'R')
if is_menu:
do_load_submenu(_cmd, b.get('sub', []))@56,4>
