robocomp/robocomp-robolab

Unable to run faceidentification module. Error in loading submodule assets.src in specificwoker.py

shubhMaheshwari opened this issue · 1 comments

While installation and testing the face identification module, I am getting the following error.

SLICE_PATH environment variable was not exported. Using only the default paths
SLICE_PATH environment variable was not exported. Using only the default paths
('Trying', '/opt/robocomp/interfaces', 'to load FaceIdentification.ice')
('Using', '/opt/robocomp/interfaces', 'to load FaceIdentification.ice')
Traceback (most recent call last):
  File "src/faceidentification.py", line 65, in <module>
    from specificworker import *
  File "/home/shubh/robocomp/components/robocomp-robolab/components/detection/faceidentification/src/specificworker.py", line 35, in <module>
    import facenet2 as facenet
ImportError: No module named facenet2

The error is arising for the following code:

from assets.src import facenet2 as facenet

I am getting a similar error in another file:

I have made a PR. Please have a look at #49 (comment)