DagAmendment icon indicating copy to clipboard operation
DagAmendment copied to clipboard

ImportError: cannot import name 'project' from 'DagAmendment.Accel' (unknown location)

Open hful opened this issue 2 years ago • 1 comments

bpy.context.space_data.recent_folders_active = 1 bpy.context.space_data.system_folders_active = 3 bpy.context.space_data.system_folders_active = 3 bpy.context.space_data.params.filename = "" bpy.context.space_data.recent_folders_active = 1 Modules Installed (DagAmendment) from 'D:\DagAmendment-v1.1.1.zip' into 'C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons' Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\DagAmendment_init_.py", line 81, in from . import properties File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\DagAmendment\properties.py", line 33, in from .SamplePoints import SamplePoints File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\DagAmendment\SamplePoints.py", line 32, in from .uv_coparam import coparam_to_position File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\DagAmendment\uv_coparam.py", line 35, in from .Accel import project as project_on_mesh ImportError: cannot import name 'project' from 'DagAmendment.Accel' (unknown location)

hful avatar Jun 02 '23 04:06 hful

Do you confirm that you see the Accel binary in the installed add-on? image

The "cp310" part must match the version of Python used by your version of Blender (I don't remember which one exactly Blender 3.1 uses but I believe it is either 3.10 or 3.9 so it should be ok).

Do you use a 64bit installation of Blender? You can check your very version of Blender's Python in the Scripting layout tab: image

eliemichel avatar Jun 02 '23 06:06 eliemichel