video_to_sequence icon indicating copy to clipboard operation
video_to_sequence copied to clipboard

WARNING: Package(s) not found: cv2

Open akaushik79 opened this issue 4 years ago • 0 comments

Hi,

I am trying to use opencv-python in one of my machine learning projects. I managed to install opencv-python successfully using:

pip install opencv-python

but whenever i run "pip show cv2" then it shows me the following error: WARNING: Package(s) not found: cv2

I am using python 3.7 and here is the output of few commands which may be of use:

python -m site
sys.path = [
    '/usr/local/lib/python3.7/dist-packages',
    '/usr/local/lib/python3.7/site-packages',
    '/usr/local/lib/python2.7/site-packages',
    '/usr/lib/python37.zip',
    '/usr/lib/python3.7',
    '/usr/lib/python3.7/lib-dynload',
    '/home/pi/.local/lib/python3.7/site-packages',
    '/usr/lib/python3/dist-packages',
]
USER_BASE: '/home/pi/.local' (exists)
USER_SITE: '/home/pi/.local/lib/python3.7/site-packages' (exists)
ENABLE_USER_SITE: True
pip list
Package                        Version
------------------------------ --------
awscli                         1.18.18
boto3                          1.12.15
botocore                       1.15.15
colorama                       0.4.3
configparser                   4.0.2
distro                         1.4.0
docutils                       0.15.2
jmespath                       0.9.5
numpy                          1.18.1
opencv-contrib-python          4.1.1.26
opencv-contrib-python-headless 4.1.1.26
opencv-python                  4.1.1.26
pip                            20.0.2
pyasn1                         0.4.8
python-dateutil                2.8.1
PyYAML                         5.3
retrying                       1.3.3
rsa                            3.4.2
s3transfer                     0.3.3
setuptools                     40.6.2
urllib3                        1.25.8
yaspin                         0.16.0

I am using AWS Greengrass on Raspberry pi and my lambda function is breaking because of CV2 issue. Please suggest how to resolve this.

Thanks

akaushik79 avatar Mar 13 '20 09:03 akaushik79