The commands: python -m opencodeblocks opencodeblocks should run main.py Might be solved by replacing main.py by __main__.py and placing it inside the opencodeblocks folder