I have a partial conda openalea environment running, but I’m having trouble with plantgl.
When I run
from openalea.plantgl.all import *
I get errors like
dlopen(/Users/neilwhite/miniconda3/envs/openalea/lib/python3.10/site-packages/OpenAlea.PlantGL-3.20.1-py3.10.egg/openalea/plantgl/scenegraph/_pglsg.so, 0x0002): Library not loaded: @rpath/libjpeg.8.dylib
Hey @Neil_White, yes PlantGL is not compiled for Apple Silicon yet. Thomas just prepared a docker image for that. I’ll test it by the end of the week and I’ll let you know.
Hi @rvezy , it finally works!
However, it was quite tricky to install.
Somehow, plantscan3d needs the dynamic library libjpeg.8.dylib and with the code you shared, version 9 gets installed. Furthermore, it needs the libjpeg.8.dylib x86-64 version and not the ARM one. So I had to manually install libjpeg.8.dylib using Rosetta2 to install it with x86-64 architecture, and it finally worked.
None of these changes would have been possible without the help of GPT-4