Python Forum
Learn to program with Minecraft
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Learn to program with Minecraft
#4
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". I also tried putting "pip install mcpi" on line 1. 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'
Reply


Messages In This Thread
Learn to program with Minecraft - by SheeppOSU - Nov-11-2018, 11:22 PM
RE: Learn to program with Minecraft - by Larz60+ - Nov-12-2018, 12:41 AM
RE: Learn to program with Minecraft - by SheeppOSU - Nov-12-2018, 03:23 PM
RE: Learn to program with Minecraft - by nilamo - Nov-12-2018, 09:11 PM
RE: Learn to program with Minecraft - by SheeppOSU - Nov-12-2018, 09:56 PM
RE: Learn to program with Minecraft - by nilamo - Nov-12-2018, 10:00 PM
RE: Learn to program with Minecraft - by SheeppOSU - Nov-12-2018, 11:11 PM
RE: Learn to program with Minecraft - by snippsat - Nov-12-2018, 11:20 PM
RE: Learn to program with Minecraft - by Larz60+ - Nov-12-2018, 11:22 PM
RE: Learn to program with Minecraft - by bolospinga - Aug-07-2019, 04:54 PM
RE: Learn to program with Minecraft - by railhead - Aug-10-2019, 12:28 AM
RE: Learn to program with Minecraft - by ArmansMom - Jun-04-2020, 06:18 AM
RE: Learn to program with Minecraft - by SheeppOSU - Jun-04-2020, 06:42 AM
RE: Learn to program with Minecraft - by Larz60+ - Jun-04-2020, 11:24 AM
Learn to program with Minecraft v2 - by SheeppOSU - Nov-12-2018, 08:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Minecraft Python install error SomeAcandKid 1 2,311 Oct-06-2021, 06:22 PM
Last Post: Ronhamas
  how to draw terrain like minecraft in python using opengl with perlin noise value? hsunteik 0 5,450 Jan-21-2017, 11:45 AM
Last Post: hsunteik
  how to generate random 3d world (like minecraft) in python hsunteik 3 89,073 Jan-06-2017, 06:35 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020