video_to_sequence
video_to_sequence copied to clipboard
what's cv2 and how to install it (i had run 'pip install cv2 --user') ?
envy@ub1404:~/os_pri/github/video_to_sequence$ python download_videos.py
Traceback (most recent call last):
File "download_videos.py", line 6, in
envy@ub1404:~/os_pri/github/video_to_sequence$ pip show cv2
Name: cv2
Version: 1.0
Location: /home/envy/.local/lib/python2.7/site-packages
Requires:
envy@ub1404:~/os_pri/github/video_to_sequence$ python download_videos.py
Traceback (most recent call last):
File "download_videos.py", line 6, in
It is OpenCV you can install it by pip install opencv
but I recommend installing it from source, as the python binary may not have video processing module in it. http://opencv.org/
after run suod apt-get install python-opencv it passed, but new trouble come:
envy@ub1404:~/os_pri/github/video_to_sequence$ python download_videos.py
Traceback (most recent call last):
File "download_videos.py", line 3, in
would you like show me the result of 'pip list'?
fix by reinstall pandas
this works for me:
pip install opencv-python
failed on window
C:>pip install opencv-python Collecting opencv Could not find a version that satisfies the ) No matching distribution found for opencv
@mshayeb why does that work?
check the the version of your python, if you are using python 3 sometimes you have to call pip3
pip3 install opencv-python
make sure you are using python3 and not python 2 in run
On ubuntu
sudo apt-get install python-opencv pip install opencv-python
pip3 install opencv-python
installs opencv3 what if i want v2 ???
"pip3.6 install opencv"
gives back error message:
No matching distribution found for opencv
@prabinzz you have to give pip a version, like this: pip install opencv-python=={version}
Install opencv-python instead of cv2. pip install opencv-python
for python3.5, You can do by using this command => sudo pip3 install opencv-python
"pip install opencv-python" works fine on mac os (y)
ensure you have installed numpy and scipy then "pip install opencv-python" or"pip install opencv-python==version" for u can use source of ustc "pip install opencv-python -i http://pypi.mirrors.ustc.edu.cn/simple"
this works for me "pip3 install opencv-python"
what @n4nagappan has given, worked for me. Thanks a lot. :)
In web2py ,opencv version is 2.But in my local machine opencv version 3.2.ORB_create() is supported in my local machine.But in web2py ORB_create() is not supported . Can you give me any solution?Thanks in advance.
I have window10 and Python3.6. I did pip install panda pip install opencv-python
worked!
for ubuntu 16.04 pip3 install opencv-python //does not work pip install opencv-python //works for me
if you use ananconda , you can install opencv by conda: conda install opencv
If you have multiple versions of python on linux :
python2 -m pip install opencv-python # python2.x python3.5 -m pip install opencv-python #python3.5 python3.6 -m pip install opencv-python #python3.6
add --user in the end if you have permission issues.
you might also install pip install opencv_contrib-python
as some module are missing in opencv
pip3 install opencv-python
it worked for me.
If you've been like me starting to install everything after June 27th 2018, make sure you are not using Python 3.7. Otherwise you'll get the error since this version is not supported yet by OpenCV
Collecting opencv-python
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python
@adriendomoison thanks a lot for this information! I was able to make opencv-python work with python2.7 - just sticking with that for now.
BTW is there a Python3 version you know which supports opencv-python?
@aamirmalik OpenCV 3 works with Python 2.7, 3.4, 3.5 and 3.6. 👍
@adriendomoison does it work for python 3.7 ?
@kamarajuPrathi no, not at the moment sadly
If you've been like me starting to install everything after June 27th 2018, make sure you are not using Python 3.7. Otherwise you'll get the error since this version is not supported yet by OpenCV
Collecting opencv-python Could not find a version that satisfies the requirement opencv-python (from versions: ) No matching distribution found for opencv-python
is there some solution for that ??