在按照此處記錄的方式完成安裝 OpenVino 的程序時,我正在運行:
sudo ./install_prerequisites.sh
并得到
ERROR: Could not find a version that satisfies the requirement tensorflow~=2.4.1 (from versions: 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3, 2.5.0, 2.5.1, 2.5.2, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.8.0rc0)
ERROR: No matching distribution found for tensorflow~=2.4.1
正如檔案中所建議的,如果出現錯誤,您可以單獨配置框架。但是,即使使用pip它,Tensorflow 2.4.1 似乎也沒有匹配的分布:
pip install tensorflow==2.4.1
ERROR: No matching distribution found for tensorflow==2.4.1
如何安裝 Tensorflow 2.4.1?
uj5u.com熱心網友回復:
我已經向您展示了如何除錯此類問題。好吧,走著瞧。
tensorflow 2.4.1的可用包串列包括 Python 3.6-3.8 的輪子。沒有 3.9,也沒有源代碼。從tensorflow 2.5.0rc0開始可以使用適用于 Python 3.9 的輪子——正如錯誤訊息中所說的那樣。
你能做什么?1) 再次降級到 Python 3.8。或者 2) 使用更新的 OpenVino 源代碼;GitHub 上的當前源串列 tensorflow~=2.5作為依賴項。或者 3) 在您下載的源檔案中找到requirements*.txt并tensorflow~=2.4.1用2.5.0.
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/401997.html
