Python安裝cv2庫出錯及解決:Could not find a version that satisfies the requirement cv2
原來的安裝命令是:
今天怎麼不靈了?初步判斷是原來使用3.5,現在改用了2.7(專案需要)。
嘗試執行命令:
pip install cv2
Collecting cv2
Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2
看到這個錯誤,趕緊搜尋,找到的辦法都無法解決。於是懷疑查詢的更新庫有問題……可是為什麼改了也不對?
後來同事過來一看,直接搜尋cv2,原來安裝辦法是:
sudo apt-get install python-opencv # 同理,還有其他的:python-scipy/python-numpy/python-matplotlib/python-requests/python-skimage
然後進python, import cv2,成功。
檢視版本號:
python -V
pip -V
filterpy可以直接用pip安裝。
sudo pip2 install opencv-python
sudo pip2 install --upgrade pip
sudo pip install --upgrade pip
相關推薦
Python安裝cv2庫出錯及解決:Could not find a version that satisfies the requirement cv2
原來的安裝命令是: 今天怎麼不靈了?初步判斷是原來使用3.5,現在改用了2.7(專案需要)。 嘗試執行命令: pip install cv2 Collecting cv2 Could not find a version that satisfies the
python安裝opencv出現如下錯誤:Could not find a version that satisfies the requirement cv2 (from versions: )
如題所示在python中安裝cv2庫是提示不能找到滿足需要的版本,我的環境配置是:pycharm+anaconda3,對應的python版本是python3.6,之前想著在pycharm中直接安裝的,即開啟專案對應的直譯器設定模組,然後安裝,但是發現安裝失敗,最後轉至用命令安
用pip安裝aiohttp模塊報錯:Could not find a version that satisfies the requirement pymongo(from version:)
ould sat ati The 網絡 req ref com alt 參考:https://blog.csdn.net/dyrlovewc/article/details/53142798 用pip安裝aiohttp模塊報錯如下: 解決:多安裝幾次竟然成功了!!
Could not find a version that satisfies the requirement flask pip安裝python包出錯:Could not find a version that satisfies the requirement skimage (from ver
使用命令安裝flask,出現報錯 百度找到解決方法https://www.cnblogs.com/lijinze-tsinghua/p/8666558.html 參考修改成pip install flask -i http://pypi.douban.com/simple/ --trusted-hos
安裝TensorFlow:Could not find a version that satisfies the requirement tensorflow
簡單的安裝tensorflow 這裡安裝的tensorflow的cpu版本,gpu版本可以自行搜尋安裝指南,或者參考如下指令: pip3 install tensorflow #cpu 這裡使用的python 3.6.3版本。 pip3 install tensorf
pip3 install tensorflow :Could not find a version that satisfies the requirement tensorflow
使用pip3 install tensorflow安裝tensorflow的時候,顯示: Collecting tensorflow Could not find a version that satisfies the requirement tensorfl
Arm下使用pip install :Could not find a version that satisfies the requirement
(arch=arm64) 請使用: sudo apt-get install python-pkgname 忘了這個試過沒有: pip install pkgname-i http://pypi.douban.com/simple/ --trusted-host
解決TensorFlow安裝問題: Could not find a version that satisfies the requirement tensorflow
環境:win7 64 Python版本:3.7.0 安裝過程中提示:Could not find a version that satisfies the requirement tensorflow,很是鬱悶啊,最後度娘了一下知道了就是因為Python版本的問題啊Tensor
centos7.3 安裝scrapy出錯Could not find a version that satisfies the requirement Twisted>=13.1.0
1錯誤原因,通過pip install 安裝scrapy是報錯Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versi
Windows下 Tensorflow安裝問題: Could not find a version that satisfies the requirement tensorflow
方式 find get rem fin .py AS exe ati Tensorflow 需要 Python 3.5/3.6 64bit 版本: 具體的安裝方式可查看:https://www.tensorflow.org/install/install_windo
解決pip install XX時出現Could not find a version that satisfies the requirement opencv (from versions: )
1.問題描述 在裝pip install debacl時出現瞭如下錯誤: Could not find a version that satisfies the requirement debacl (from versions: ) No matching distribution
tensorflow安裝出現"could not find a version that satisfies the requirement tensorflow"問題
最近為了學習深度學習神經網路,也是對自己無語了,安裝tensorflow遇到了一些問題,網上直接說的cpu安裝法 pip3 install tensorflow, pip3 install --upgrade tensorflow 都是顯示could not find a version
懶載入異常說明及解決:could not initialize proxy-no Session
【問題介紹】 在專案中遇到這樣的錯誤反饋 別的沒有看懂,但是被紅線框著的地方肯定能看懂,沒有session值。這是懶載入異常的出現的情況。 【問題出現原因】 原因:一個請求來的時候先請求acti
解決:Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
這是個之前遇到的問題,後邊改過之後,有遇到了,再次記一下這個錯誤。 網上很多朋友說是跟目錄的build.gradle中的allprojects{...}裡面寫上google(),但是我發現裡面寫了的,還是不管用 我的順序: repositories { jc
opencv常見bug:could not find a writer for the specified extension in function cv::imwrite_
在opencv學習中,使用cv.imwrite(‘filename’, img)儲存照片檔案到本地,有時使用失誤可能會出現報錯,error: (-2) could not find a writer for the specified extension in function cv::im
Python使用requirements.txt安裝類庫錯誤及解決辦法
1、Python使用requirements.txt安裝類庫 出現錯誤 pip install -r requirements.txt “No such file or directory: ‘requirements.txt’” 解決辦法:cd 到這個檔案下,再執行命令。 2、出
Windows下使用命令安裝Python的scipy庫出錯的解決
平時使用Python都是在Sublime下使用,不想使用IDE。使用各種庫時安裝也就是使用pip安裝即可。來說說今天自己遇到的一個問題:使用scipy數學庫時,使用命令: pip install scipy 後,顯示正常的下載,然後是一串的文字,最後一串紅色的報錯警告(我不
python安裝PIL失敗原因及解決方案
在windows下的虛擬環境安裝PIL: pip install PIL 出現報錯資訊: 原因: 經過查詢資料發現,python2可以使用pip install PIL安裝PIL第三方包。而我是使用的是python3,現在python3已經用Pillow代替PIL。
Redis在windows下的安裝啟動(解決一個錯誤:Could not get a resource from the pool)
由於專案需要,最近在將專案的每個模組改變成一個單獨的服務來進行部署,但是服務寫完之後,在啟動時報了一個錯誤:Could not get a resource from the pool,如下圖所示: 由以上資訊並查閱資料後明白可能是redis沒有啟動,但是公司
sping boot 報:Could not find acceptable representation原因及解決方法
但是我這個是因為用了swagger ui 測試資料的時候返回時 選擇了xml格式導致報了Could not find acceptable representation 把返回資料格式換成 就可以了,這是我個人的錯誤場景,有朋友相同的可以嘗試修改下