Install opencv python mac9/14/2023 ![]() I got: (compatibility version 21.0.0, current version 21.0.0) I got: /anaconda2/pkgs/freetype-2.8-h12048fb_1/lib/libfreetype.6.dylibĬhecking versions: otool -L /anaconda2/pkgs/freetype-2.8-h12048fb_1/lib/libfreetype.6.dylib Reason: Incompatible library version: libopencv_freetype.3.4.dylib requires version 22.0.0 or later, but libfreetype.6.dylib provides version 21.0.0Ĭheck your versions: sudo find / -name libfreetype.6.dylib I got the error message: ImportError: dlopen(/anaconda2/lib/python2.7/site-packages/cv2.so, 2): Library not loaded: from: /anaconda2/lib/libopencv_freetype.3.4.dylib When tried to run a python script containing import cv2 Get new MacBook Pro 2017, then installed anaconda, and installed opencv using conda (conda install -c conda-forge opencv). What am I doing wrong? I thought pipenv was supposed to prevent all of these dependency errors.I had the same problem. ![]() : ĮRROR: ERROR: Package installation failed. : raise exceptions.InstallError(c.dep.name, extra=err_lines) : File "/Users/stevenbarnett/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 681, in _cleanup_procs ![]() : _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry) : File "/Users/stevenbarnett/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 763, in batch_install : File "/Users/stevenbarnett/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 858, in do_install_dependencies : File "/Users/stevenbarnett/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 1246, in do_init : File "/Users/stevenbarnett/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 1863, in do_install Installing initially failed dependencies… I did the following: $> pipenv install opencv-python I just installed Python 3.8 on my Mac OS X (10.15.1) and was trying to add opencv-python to my pipenv project. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |