#928·Gooey

six dependency is missing after install

Author: Ket3rCreated Apr 28, 2025Updated Jun 22, 2025

When I setup a new virtualenv, do a pip install gooey and run following snippet:

import gooey


@gooey.Gooey()
def main():
    parser = gooey.GooeyParser()
    parser.parse_args()


if __name__ == "__main__":
    main()

I get following error:

Traceback (most recent call last):
  File "C:\temp\gooey\run.py", line 11, in <module>
    main()
  File "C:\temp\gooey\.venv\Lib\site-packages\gooey\python_bindings\gooey_decorator.py", line 128, in inner2
    return payload(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\temp\gooey\run.py", line 7, in main
    parser.parse_args()
  File "C:\temp\gooey\.venv\Lib\site-packages\gooey\python_bindings\gooey_parser.py", line 125, in parse_args
    return self.parser.parse_args(args, namespace)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\temp\gooey\.venv\Lib\site-packages\gooey\python_bindings\gooey_decorator.py", line 95, in run_gooey
    from gooey.gui import application
  File "C:\temp\gooey\.venv\Lib\site-packages\gooey\gui\application.py", line 16, in <module>
    from gooey.gui.containers.application import GooeyApplication
  File "C:\temp\gooey\.venv\Lib\site-packages\gooey\gui\containers\application.py", line 17, in <module>
    from gooey.gui.components.header import FrameHeader
  File "C:\temp\gooey\.venv\Lib\site-packages\gooey\gui\components\header.py", line 9, in <module>
    from gooey.gui import imageutil, image_repository
  File "C:\temp\gooey\.venv\Lib\site-packages\gooey\gui\imageutil.py", line 5, in <module>
    import six
ModuleNotFoundError: No module named 'six'

pip freeze of virtualenv:

colored==2.3.0
Gooey==1.0.8.1
numpy==2.2.5
pillow==11.2.1
psutil==7.0.0
pygtrie==2.5.0
wxPython==4.2.3

System: Windows11 Python: 3.11.7

Doing a pip install six fixes the error above.

If I install wxPython==4.2.2 six get's automatically installed.