0

I want conect Python to Mincraft. For that I use <<mcpi_e>> Libary. That`s my code:

from mcpi_e.minecraft import*
from mcpi_e.block import*

serverAddres = "mc.yasan.ac"
phythonPort = 29025
playerName = "p.eslami"

mc = Minecraft.create(serverAddres,phythonPort,playerName)

mc.posttochat('Salam')

and when I run I see that`s Error!

(https://i.stack.imgur.com/PBv8B.png)

I Reinstal The VS Code and Python but that`s not work

Rabbid76
  • 202,892
  • 27
  • 131
  • 174
  • This library does not support Python 3.10, because in 3.10 the standard library is re-organized in a way that is not compatible. – Karl Knechtel Feb 23 '23 at 17:12

0 Answers0