Python Forum

Full Version: Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I tried to convert a .py file format to a .exe file by using PyInstaller.It seems not to work with this error:
Quote:' Attribute error: 'str' object has no attribute 'items''
. What does this message error mean and how to solve it?(Thanks in advance!) Huh Wink
That error means that the code is trying to index a string as if it were a dictionary. Could you provide the full traceback?
Quote:Could you provide the full traceback?
and how about the offending code.