Skip to content

Installing dependencies error #90

@osu-Zaike

Description

@osu-Zaike

After clicking the "Download and Install ALL Optional Dependencies" I get this same error. Tested on 4.5.0, 4.2.13 and 4.0.2. These are all fresh installation of Blender as well. (sorry if this is weird, this is my first issue post on github)

Edit:
Photogrammetry version v2024.01.18
Windows 11

Python: Traceback (most recent call last):
File "C:\Users\ZAIKE\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\photogrammetry_importer\preferences\dependency.py", line 365, in execute
dependency_manager.install_dependencies(
File "C:\Users\ZAIKE\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\photogrammetry_importer\preferences\dependency.py", line 317, in install_dependencies
dependency.install(op=op)
File "C:\Users\ZAIKE\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\photogrammetry_importer\preferences\dependency.py", line 226, in install
importlib.import_module(self.import_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:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\site-packages\setuptools_init
.py", line 8, in
import distutils_hack.override # noqa: F401
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\site-packages_distutils_hack\override.py", line 1, in
import('distutils_hack').do_override()
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\site-packages_distutils_hack_init
.py", line 77, in do_override
ensure_local_distutils()
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\site-packages_distutils_hack_init
.py", line 64, in ensure_local_distutils
assert '_distutils' in core.file, core.file
AssertionError: C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\distutils\core.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions