About Python cv2-1.0 (importerror:no module named CV2)

Source: Internet
Author: User

See the Python version of OpenCV today to try it out:

Want to install a CV2, directly hit Pip install Cv2

The installation was successful.

However, entering Python does not indicate that the Cv2 module is found:

Importerror:no module named Cv2

Folding is obviously not in line with common sense.

Find on a foreign website:

Cv2-1.0 is a spurious, garbage module with nothing in it.

See for yourself:https://pypi.python.org/pypi/cv2/1.0

Once installed, cv2-1.0 'll mask OpenCV and keep it from working.

.. so delete it:

rm -rf /usr/local/lib/python2.7/dist-packages/cv2-1.0*

Which means this thing is a prank. So erase it.

My advice, of course, is:

Pip Uninstall Py2

Because it installs the file name does not have the CV2, but is called the test, you said fuck not fuck

I don't believe I am alone in this problem.

No one to control it?

About Python cv2-1.0 (importerror:no module named CV2)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.