Blender 3.0 import error (Solution included)
NovaliX-Dev opened this issue · 1 comments
When i attempt to activate Gaffer (installed), i obtain this error:
with default name ("Gaffer-3.1.9.zip")
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
ModuleNotFoundError: No module named 'Gaffer-3'
with altered name ("Gaffer-3.1.9(1).zip")
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
ModuleNotFoundError: No module named 'Gaffer-3.1'
Solution
- Extract the folder
- Rename the folder inside the folder created when extracted
- Rename it to "Gaffer-3"
- Zip and install this folder not the other
Renaming the folder to have only one extension(".zip") seems to solve the problem for me.
Seems to be a Blender bug in general, more precisely in his Python implementation, but i put this here, just in case someone has the same error has i have. The devs can fix the problem this way too.