not working in blender 4.x version
Opened this issue · 1 comments
I am running blender as Admin
This Error os Showing
`Traceback (most recent call last):
File "C:\Users\91956\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Tesselate_texture_plane-master\auto_modules.py", line 90, in pip_install_and_import
import(module_name)
ModuleNotFoundError: No module named 'cv2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\91956\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Tesselate_texture_plane-master\auto_modules.py", line 105, in pip_install_and_import
external_scripts = bpy.context.preferences.filepaths.script_directory
AttributeError: 'PreferencesFilePaths' object has no attribute 'script_directory'
The above exception was the direct cause of the following exception:
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 "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\91956\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Tesselate_texture_plane-master_init.py", line 67, in
raise Exception(error_message) from error
Exception: --- Cannot import modules (see console).
Try following solutions:
- Try enabling addon after restarting blender as admin
- If error is still there, try deleteting currently installed modules:
- go to modules folder. Should be: C:\Users\91956\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\modules
- delete folders "triangle", "cv2", "triangle...dist-infos", "opencv...dist-infos"
- Try enabling the addon again to auto-install modules associated with this version of blender (preferably started as admin)
`
Hi there,
Thank you for reporting.
I'll fix the 4.0 compatibility soon (probably early january).