[MacPorts] #66942: opencv4 @4.6.0_2+contrib extract failure
MacPorts
noreply at macports.org
Sun Feb 19 19:57:28 UTC 2023
#66942: opencv4 @4.6.0_2+contrib extract failure
----------------------+----------------------
Reporter: fmw42 | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: opencv4 |
----------------------+----------------------
Comment (by fmw42):
After doing the above, my scripts do not work any more. It is complaining
about importing cv2
{{{
Traceback (most recent call last):
File "/Users/fred/Desktop/tmp.py", line 1, in <module>
import cv2
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py",
line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/cv2/python-3.9/cv2.cpython-39-darwin.so, 0x0002): Library
not loaded: '/opt/local/lib/libtiff.5.dylib'
Referenced from:
'/opt/local/lib/opencv4/libopencv_imgcodecs.4.6.0.dylib'
Reason: tried: '/opt/local/lib/libtiff.5.dylib' (no such file),
'/usr/local/lib/libtiff.5.dylib' (no such file),
'/usr/lib/libtiff.5.dylib' (no such file)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66942#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list