regcs / AliceLG

A Blender add-on for the use of Blender with the Looking Glass holographic displays.
GNU General Public License v3.0
103 stars 23 forks source link

[Dependcies/pynng] Addon installation fails on Blender 3.1 #87

Closed regcs closed 2 years ago

regcs commented 2 years ago

Describe the bug The installation of the addon fails in Blender 3.1. Three users on discord described the issue on both Linux and Windows.

Platform & Versions (please complete the following information):

Attach log files Log files of one user are provided below:

regcs commented 2 years ago

Blender 3.1 now ships with Python 3.10 instead of Python 3.9: https://wiki.blender.org/wiki/Reference/Release_Notes/3.1/Python_API

It seems that pynng currently has no wheel for the installation under Python 3.10. Further tests are required, but I suspect that this is the root of the issue. Unfortunately, the development of pynng is somewhat stuck, so the only solution might be to ship our own wheel or directly bundle the source code of pynng with Alice/LG (Note: I think, we tried this for M1 Macs before and run into some issues, so if we choose this route, I need to test M1 Macs first.)

regcs commented 2 years ago

Working around the issue by shipping pynng wheels for all systems with Alice/LG. The following version should work, but need some verification on different OS

AliceLG.zip

regcs commented 2 years ago

Fixed by 243ee00ed9c9e6e9e5d0bc0807e6fb1f3a27db77.