Libmapper import issue
Description
As shown in the screenshot below, in the blue box, the import of the module is carried out well, without however the methods being able to be used. The problem is therefore that we have to install Libmapper for the Python version embedded by Blender.
However, libmapper is well installed on the laptop and all install tests pass correctly (i.e. test/test
and bindings/python/test.py
)and can be visualized in Webmapper, from the laptop and another computer.
Resolution approach
Look if it is possible to specify where to search for the installation of Python used during the installation of Libmapper, to choose Blender's one (here, for example, at the path blender-3.0.1-linux-x64/3.0/python /bin/python3.9
, where the root contains the executable software).
Possible explanation
Libmapper for ubuntu focal 20.04 LTS is compiled and packaged for python 3.8
https://launchpad.net/~savoury1/+archive/ubuntu/blender/
Update (15 Apr 2022): Due a complex issue between Focal Python 3.8, Boost 1.71, and changes in Python 3.10 (deprecated C API functions), Blender 3.1 and higher (which requires Python 3.10) is not building for Focal. Blender LTS 2.93.8 is building successfully for Focal with Python 3.9 (best Python for Blender LTS, as running LTS version with Python 3.10 has some issues).
TODO
-
Test for an older version of Blender which supports Python 3.8, e.g. Blender 2.83.