Moo-Ack-Productions / MCprep

Blender python addon to increase workflow for creating minecraft renders and animations
https://theduckcow.com/MCprep
GNU General Public License v3.0
287 stars 24 forks source link

Syntax error when trying to enable MCprep #632

Closed Broukodrak closed 2 months ago

Broukodrak commented 2 months ago

Did the issue happen after restarting Blender?

Check known issues

What happened?

I need to install the MCprep addon for Minecraft animating, but when i try to turn it on, i get this error:

issue

What steps are needed to produce the bug?

  1. Download Blender 2.7 there: https://download.blender.org/release/Blender2.70/ (the lowest .exe file)
  2. Download MCprep 3.6.1
  3. In Blender, go to File/User Preferencer/Addons, click Install from file, choose the MCprep zip file.
  4. On the left sidebar in Addons click on User and mark the box in Object: MCprep.
  5. You might get the error.

What version of MCprep are you using?

MCprep 3.6.1

What version of Blender are you using?

Blender 2.7

Aspirata commented 2 months ago

Mcprep 3.6 doesn't support Blender 2.7

Aspirata commented 2 months ago

Download Mcprep 3.4.3 or 3.2.4 instead

StandingPadAnimations commented 2 months ago

Blender 2.7 support hasn't been in MCprep since 2020, and the last versions of 2.7X we supported (2.78 and 2.79) were dropped in 2023. The syntax error is due to us using Python type annotations in MCprep now, which were added in Python 3.7 (which was not shipped with Blender until Blender 2.8).

See here for the rationale

Broukodrak commented 2 months ago

Download Mcprep 3.4.3 or 3.2.4 instead

I downloaded 3.4.3, when i marked the box i got this: huh

StandingPadAnimations commented 2 months ago

Since you're on 2.70, 3.4.3 won't work either (that only goes as far back as 2.78). You'll need 3.2.4 for Blender 2.70 support