In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-12-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "pycharm can not install cv2 module how to solve" related knowledge, editor through the actual case to show you the operation process, the method of operation is simple and fast, practical, hope that this "pycharm can not install cv2 module how to solve" article can help you solve the problem.
Pycharm installation cv2 module installation failure and unusable resolution step 1
Let's first go to this URL: cv2 download address to download the whl file of opencv-python corresponding to your python version number and computer digits. Here is the python3.7 version, corresponding to the 64-bit computer, so I downloaded the python3.7 version here, corresponding to the 64-bit computer, so I downloaded opencv_python-3.4.5.20-cp37-cp37m-win_amd64.whl.
You can download it according to your python version and the number of digits on your computer.
Step two
After the download is completed, you need to change the suffix name of the file to zip format, then decompress the folder, open the folder, find the cv2.cp36-win_amd64.pyd file inside, copy it, and then open the site-packages folder under the python installation path. Here is C:\ Users\ LIU\ AppData\ Local\ Programs\ Python\ Python36\ Lib\ site-packages. Paste the cv2.cp36-win_amd64.pyd file you just copied into the site-packages folder and change the file name to cv2.pyd.
Step three
Finally, open pycharm, and then we find that we can successfully import the cv2 module.
I combined with many other online installation methods for a summary, so that you do not take detours.
Pit encountered in pycharm installation of cv2
Looking for a lot of tutorials on the Internet did not succeed!
Window7 64-bit system
Python3.6
Pycharm ctrl+alt+s has no problem finding opencv-python and installing it directly.
This is the end of the content about "how to solve the problem that pycharm cannot install cv2 module". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.