You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am trying now to import scripts from Minecraft education and start them with Raspberry PI. Is that possible? For example there are such libraries like mc and world and I have issues with them. Here is the error: "Traceback (most recent call last):
File "blocks.py", line 1, in
from mc import world, blocks, player
ImportError: cannot import name 'world' from 'mc' (/usr/local/lib/python3.8/dist-packages/mc/init.py)". What is the best place to find answer for this question and how to resolve this issue?
The text was updated successfully, but these errors were encountered:
Minecraft Education Edition does not cover full Python language. It is not compatible with RaspberryJuice plugin and mcpi Python package. It may look similar but you can't get code from Microsoft MakeCode to real Python code 1:1.
Microsoft created Python like dialect but it is not fully featured Python, thus you cannot import any external Python Package for example.
Here you can read about MakeCode language limitations: https://makecode.com/language
Hello! I am trying now to import scripts from Minecraft education and start them with Raspberry PI. Is that possible? For example there are such libraries like mc and world and I have issues with them. Here is the error: "Traceback (most recent call last):
File "blocks.py", line 1, in
from mc import world, blocks, player
ImportError: cannot import name 'world' from 'mc' (/usr/local/lib/python3.8/dist-packages/mc/init.py)". What is the best place to find answer for this question and how to resolve this issue?
The text was updated successfully, but these errors were encountered: