Forums

How Can I upgrade python 2.7 to 3.7 from the console?

I am unable to install cv2, it is alway saying

Looking in links: /usr/share/pip-wheels ERROR: Could not find a version that satisfies the requirement cv2 ERROR: No matching distribution found for cv2

I tried to upgrade the python but that also what I am unable to do. Can you please advise as soon as possible

Hi, you don't need to upgrade Python -- it's already available to you. You just need to use python3.7 (or pip3.7) or create a virtual environment with python3.7 and install your modules there.

thanks

No problem!