When I run a project using face_morpher under ubuntu16.04,python=3.7.7,opencv=3.4.2,this error occur:
File "./src/handle_dataset.py", line 13, in <module> from helpers import FaceCropper, cropFaceBBox, combineApiLandmark File "/media/cqnu/data/zjy/makeup-transfer-public/src/helpers.py", line 17, in <module> from facemorpher import locator, aligner, blender File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/__init__.py", line 4, in <module> from .morpher import morpher, list_imgpaths File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/morpher.py", line 34, in <module> from facemorpher import locator File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/locator.py", line 7, in <module> import stasm File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/stasm/__init__.py", line 3, in <module> from _stasm import __doc__ ImportError: /home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/_stasm.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZTVN2cv12_OutputArrayE
When I run a project using face_morpher under ubuntu16.04,python=3.7.7,opencv=3.4.2,this error occur:
File "./src/handle_dataset.py", line 13, in <module> from helpers import FaceCropper, cropFaceBBox, combineApiLandmark File "/media/cqnu/data/zjy/makeup-transfer-public/src/helpers.py", line 17, in <module> from facemorpher import locator, aligner, blender File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/__init__.py", line 4, in <module> from .morpher import morpher, list_imgpaths File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/morpher.py", line 34, in <module> from facemorpher import locator File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/locator.py", line 7, in <module> import stasm File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/stasm/__init__.py", line 3, in <module> from _stasm import __doc__ ImportError: /home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/_stasm.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZTVN2cv12_OutputArrayE