Hello,
When starting the first program I have this message showing in red in the IDLE and I have no message in minecraft:
Traceback (most recent call last):
File "C:/Users/cai/Desktop/AdventuresInMinecraft-PC/MyAdventures/BonjourMondeDeMinecraft.py", line 3, in <module>
mc.postToChat ("Bonjour le monde de Minecraft")
File "C:\Users/cai/Desktop/AdventuresInMinecraft-PC/MyAdventures\mcpi\minecraft.py", line 197, in postToChat
self.conn.send(b"chat.post", msg)
File "C:\Users/cai/Desktop/AdventuresInMinecraft-PC/MyAdventures\mcpi\connection.py", line 39, in send
s = b"".join([f, b"(", flatten_parameters_to_bytestring(data), b")", b"\n"])
File "C:\Users/cai/Desktop/AdventuresInMinecraft-PC/MyAdventures\mcpi\util.py", line 10, in flatten_parameters_to_bytestring
return b",".join(map(_misc_to_bytes, flatten(l)))
File "C:\Users/cai/Desktop/AdventuresInMinecraft-PC/MyAdventures\mcpi\util.py", line 5, in flatten
if isinstance(e, collections.Iterable) and not isinstance(e, str):
AttributeError: module 'collections' has no attribute 'Iterable'I am on Windows 10 PC and under minecraft 1.12
Thanks in advance for your help as I don't understand the error message.
Have a good day