blender-for-science / import-G-code

Imports G-code files into Blender 2.80+ as a collection of layers which can then be animated or exported.
GNU General Public License v3.0
33 stars 9 forks source link

blender 3.6 and 4.0 said it was missing file. #17

Open allaze-eroler opened 11 months ago

allaze-eroler commented 11 months ago

i got these errors:

from blender 3.6 when trying to install it:

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\addon_utils.py", line 333, in enable
    mod = __import__(module_name)
ModuleNotFoundError: No module named 'import-G-code-1'

and here a list of errors from blender 4:

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable
    mod = importlib.import_module(module_name)
  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'import-G-code-1'

hope it will help you figuring out what is the problem...

glasscanvas commented 11 months ago

Tried the solutions below and it fails on blender 4

jamsito commented 6 months ago

Same problem here, is there a solution already?

sumone-lol commented 6 months ago

+1