Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller (/thread-13867.html) |
Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller - manhnt - Nov-04-2018 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!) RE: Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller - stullis - Nov-04-2018 That error means that the code is trying to index a string as if it were a dictionary. Could you provide the full traceback? RE: Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller - Larz60+ - Nov-04-2018 Quote:Could you provide the full traceback?and how about the offending code. |