Aug-10-2019, 12:28 AM
(Nov-11-2018, 11:22 PM)SheeppOSU Wrote: I did everything write but the import of minecraft on python wont work. Did they update the code to import it. The book says,"from mcpi.minecraft import Minecraft" The error message is this:
Error:Traceback (most recent call last): File "C:/Users/Sheep/OneDrive/Desktop/Ayden/Minecraft Python.py", line 1, in <module> from mcpi.minecraft import Minecraft ModuleNotFoundError: No module named 'mcpi'
the answer is a lot simpler than you might think, i had the same problem and you just need to make sure your .py file is saved in the same folder that contains your "mcpi" folder