BlendArMocap
BlendArMocap copied to clipboard
Issues with External Dependencies on Windows
On Windows often issues arise due to privileges, checkout the documentation on how to install dependencies before going further.
Various issues can arise due to:
- Bad packaging of the packages itself
- Missing C++ Libs required for building
- Other add-ons which overwrite / change package contents
- Multiple packages of the same type
- Requirement of user site packages on Linux
Those issues can often only be fixed manually. I created a section to do so in the documentation.
The current goal is, to create an external executable to bypass the requirement of external dependencies. If you want to support the development checkout the #128 Creation of an external executable to remove external dependencies.
Here is the place, to help each other out to fix dependencies issues which arise on Windows.
Hi, @cgtinker. Back after a break. Successfully installed the 1.6.1 release. Clicked the add dependencies button in Admin mode. Gave an error saying the dependencies install failed (the message was brief so couldn't get the exact words), but did get this console log:
Installing collected packages: flatbuffers, six, pyparsing, protobuf, pillow, packaging, numpy, kiwisolver, fonttools, cycler, attrs, absl-py, python-dateutil, opencv-contrib-python, contourpy, matplotlib, mediapipe
Successfully installed absl-py-1.4.0 attrs-23.1.0 contourpy-1.1.0 cycler-0.11.0 flatbuffers-23.5.26 fonttools-4.42.0 kiwisolver-1.4.4 matplotlib-3.7.2 mediapipe-0.9.0.1 numpy-1.25.2 opencv-contrib-python-4.8.0.76 packaging-23.1 pillow-10.0.0 protobuf-3.20.3 pyparsing-3.0.9 python-dateutil-2.8.2 six-1.16.0
WARNING: Target directory C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\google already exists. Specify --upgrade to force replacement.
WARNING: Target directory C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\protobuf-3.20.3-py3.10-nspkg.pth already exists. Specify --upgrade to force replacement.
WARNING: Target directory C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\protobuf-3.20.3.dist-info already exists. Specify --upgrade to force replacement.
WARNING: Target directory C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\bin already exists. Specify --upgrade to force replacement.
[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\bin\python.exe -m pip install --upgrade pip
Add a python dependency on "@com_google_protobuf//:protobuf_python"
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Users\balrog\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\BlenderGIS-228\__init__.py", line 95, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
ModuleNotFoundError: No module named 'google.protobuf'
But when I restarted Blender, it was all good! Not sure what that problem was, . Don't think the BlenderGIS message was related: It always does that.
Will now do a try processing a new round of scenes on BlendArMocap. Fingers crossed.