Skip to content

November 24, 2020

[Solved][Python] AttributeError: module 'win32ctypes.pywin32.win32api' has no attribute 'error'

Last Updated on 2020-11-24 by Clay

Display Python code on the screen

Introduction

Today I used PyInstaller to package my Python program to execute file on Windows, I got an error message:

AttributeError: module 'win32ctypes.pywin32.win32api' has no attribute 'error'

After I searching some information on Internet, I found it is a common problem about icon picture of our GUI program. The icon need to use the .ico file, but I use a .png file.

This icon is on the computer desktop dock, not the icon on the program window.

Read More »[Solved][Python] AttributeError: module 'win32ctypes.pywin32.win32api' has no attribute 'error'
Exit mobile version