Pycharm- can not install opencv

痴心易碎 提交于 2020-06-17 09:51:07

问题


I am new to PyCharm, and try to understand how I can install openCV package, and later cv2 package. I saw an old disussion here, that suggets first to donwload the openCV from interent and then update the system interpreter. I download the openCV and loacted it on the same directorty where I manage my project. Is it good??

Many many thanks!!

enter image description here


回答1:


Just one line:

pip install opencv-python

or pip3 install opencv-python


You can also:




回答2:


You can read the instructions on the jetbrains website to add a module/package.

They can be found here: https://www.jetbrains.com/help/pycharm-edu/installing-uninstalling-and-upgrading-packages.html




回答3:


Add the Package in this Directory: C:\Users\#####\PycharmProjects\Projectname\venv\Lib\site-packages and run via cmd the eays_install.py



来源:https://stackoverflow.com/questions/51632134/pycharm-can-not-install-opencv

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!