I have python 3.6 installed in my virtual env. I can import cv2 in my home directory. But when I change to any other directory it fails with following error: Please Help
import cv2
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/name/anaconda/envs/env-name/lib/python3.6/site-packages/cv2/__init__.py", line 4, in <module> from .cv2 import * ImportError: dlopen(/Users/name/anaconda/envs/env-name/lib/python3.6/site-packages/cv2/cv2.cpython-36m-darwin.so, 2): Symbol not found: _clock_gettime Referenced from: /Users/name/anaconda/envs/env-name/lib/python3.6/site-packages/cv2/.dylibs/libavutil.55.78.100.dylib (which was built for Mac OS X 10.12) Expected in: /usr/lib/libSystem.B.dylib in /Users/name/anaconda/envs/env-name/lib/python3.6/site-packages/cv2/.dylibs/libavutil.55.78.100.dylib