问题
Traceback (most recent call last): File “featureMap.py”, line 15, in
import cv2 ModuleNotFoundError: No module named ‘cv2’ root@8546d1d87ed5:/home/xjr_directory/py/sematicCompress# pip install
cv2 ERROR: Could not find a version that satisfies the requirement cv2
(from versions: none) ERROR: No matching distribution found for cv2
解决方案:
pip install opencv-python