i tried to install the matlab lib on the virtuel environment builder. And it worked the inveronment successfully installed the matplotlib.
I added the matplotlib in the requirements.txt and setup.py
here is the open archive of the virtuel core snap. And on the virtuel control no error occurs. Besides that when i build the arm64 snap for the
real control, i always get the error page. To mention i also changed in the datalayer.py the return value to the control ones used. Afterwards i build the snap without errors.
thank you for your service and quick replys.
Solved! Go to Solution.
So you cross compiled some python right? Many python libraries are difficult to "cross compile" because there is also some C behind. To include matplotlib give a look to: GitHub - mauringo/python-ai-toolkit. The example includes also ctrlX SDK.
To successfully compile it for arm64 i use a native arm64 machine. You can use:
|- build-on: amd64|
|- build-on: arm64|
Inside the snapcraft.yaml and the use snapcraft remote-build
Thank you for your answer,
i also tried to include an none-any python liberary and give it a trie. And in that case it worked
the snap successfully builds. I've included the pyueye liberary for IDS_Kameras .
The webserver starts successfully with the liberary. However if i want to include the liberary in the webserver.py
with 'from pyueye import ueye' the programm doesn't start anymore and i get the error page shown on the top