Using Conda to install Openface, error when importing dlib

94 views
Skip to first unread message

Daniel Goh

unread,
Oct 15, 2018, 4:29:42 AM10/15/18
to CMU-OpenFace
Hi,


Using the conda virtual environment, I tried to run the classifier demo, only to hit an error.

I tested importing the packages one by one and realised the error was caused by importing dlib.  And advice how to fix this?

>>> import dlib

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

ImportError: dlopen(/Users/username/anaconda3/envs/openface/lib/python2.7/site-packages/dlib.so, 2): Symbol not found: __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKNSt3__14pairIPKNS0_6detail7keywordESA_EE

  Referenced from: /Users/username/anaconda3/envs/openface/lib/python2.7/site-packages/dlib.so

  Expected in: /Users/username/anaconda3/envs/openface/lib/python2.7/site-packages/../../libboost_python.dylib

 in /Users/username/anaconda3/envs/openface/lib/python2.7/site-packages/dlib.so

Sami Boughrara

unread,
Oct 17, 2018, 12:09:44 AM10/17/18
to cmu-op...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "CMU-OpenFace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cmu-openface...@googlegroups.com.
To post to this group, send email to cmu-op...@googlegroups.com.
Visit this group at https://groups.google.com/group/cmu-openface.
To view this discussion on the web visit https://groups.google.com/d/msgid/cmu-openface/415f0740-329c-42ba-a18c-469624caddc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages