Thank you for the suggestion, when I remove the prime I no longer get the modulenotfound error and instead get:
File "/snap/open3d/x11/lib/python3.6/site-packages/cv2/__init__.py", line 5, in <module>
from .cv2 import *
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
additionally all the lib warnings return during the snapcraft step.
This part is missing libraries that cannot be satisfied with any available stage-packages known to snapcraft:
- libICE.so.6
- libSM.so.6
- libX11.so.6
- libXext.so.6
- libXrender.so.1
I tried adding -lib/python3.6 to the prime list which did not seem to have any effect, I also tried it as just - usr/lib/**/python3.6 which snapcraft is happy with but still has the modulenotfound error. Is there a better way to satisfy these libX requirements than my use of prime? I’m a bit unclear on if the prime files are coming from my development machine or the vm but my dev is 20.04/3.8 and my snap is core18/3.6.