需要某种版本的opencv-python。来自
# If none of packages in first installed, install second package
CHOOSE_INSTALL_REQUIRES = [
(
("opencv-python>=4.1.1", "opencv-contrib-python>=4.1.1", "opencv-contrib-python-headless>=4.1.1"),
"opencv-python-headless&g
我一直在尝试从Pycharm和终端安装OpenCV和cv2,建议使用:
pip install --user opencv
pip install --user cv2
但是我得到了下面的错误:
Collecting opencv
Could not find a version that satisfies the requirement opencv (from versions: )
No matching distribution found for opencv
和
Collecting cv2
Could not find a version that satisfies
我有python 2.7,当我尝试安装opencv时,我得到了错误 pip install opencv-python
Looking in indexes: http://pypi.dd.dynamore/simple, https://pypi.python.org/simple/
Collecting opencv-python
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribut
好吧,我需要在我的mac上安装OpenCV4,所以我遵循https://www.pyimagesearch.com/2018/08/17/install-opencv-4-on-macos/,安装了opencv并设置了虚拟环境cv。 我运行的是Python 3.7.3。因为设置了这个,我无法安装任何包,因为SSL问题。在workon cv之后尝试pip install spell - Could not fetch URL https://pypi.org/simple/spell/: There was a problem confirming the ssl certificate: H
我有一个用virtualenvwrapper创建的virtualenv。
然而,我使用的是python2.7
无论我是否以sudo用户身份尝试通过pip安装opencv-python,都会收到以下消息:
pip install opencv-python
Downloading/unpacking opencv-python
Could not find any downloads that satisfy the requirement opencv-python
Cleaning up...
No distributions at all found for opencv-python
S
我试图在这里运行这段代码,要求我首先安装OpenCV 2.4。但是,当我尝试这样做时,我会在下面看到错误,我读到这意味着版本不再受支持。那么我如何安装OpenCV版本2.4呢?
user:~$ pip install opencv-python==2.4
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
ERROR: C
当我通过pip安装tensorflow时,它显示没有匹配的发行版。我已经更新了pip。
(tfenv)pi@raspberrypi:~/Downloads/opencv-3.3.0-source/build $ pip install tensorflow
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
(tfenv)pi@raspbe
感谢阅读我的问题。我有家庭作业要打印图形,并尝试使用opencv模块。我通过cmd上网下载opencv (pip install opencv-python),但是在pycharm中,我不能使用opencv模块。错误消息告诉我
ModuleNotFoundError: No module named 'cv2'
我不知道如何编程,我很难猜测原因。一些理论认为我代码文件在D驱动器中,而不是安装了pycharm或python的C驱动器中。