iT邦幫忙

0

pip retinaface 有tensorflow版本的問題

  • 分享至 

  • xImage

大大好
如題
我爬了一下pip doc
嘗試解決dependency conflicts
使用Py3
pip tensorfloe2.2後
還是出現Error
請問有大大可否分享一下經驗
非常感謝

以下是下載執行的錯誤代碼

$ pip install retinaface
Collecting retinaface
  Using cached retinaface-0.0.6-py3-none-any.whl (5.9 MB)
  Using cached retinaface-0.0.5-py3-none-any.whl (5.9 MB)
  Using cached retinaface-0.0.4-py3-none-any.whl (5.9 MB)
  Using cached retinaface-0.0.3-py3-none-any.whl (5.9 MB)
  Using cached retinaface-0.0.2-py3-none-any.whl (7.5 kB)
  Using cached retinaface-0.0.1-py3-none-any.whl (7.5 kB)
ERROR: Cannot install retinaface==0.0.1, retinaface==0.0.2, retinaface==0.0.3, retinaface==0.0.4, retinaface==0.0.5 and retinaface==0.0.6 because these package versions have conflicting dependencies.

The conflict is caused by:
    retinaface 0.0.6 depends on tensorflow==2.1.0
    retinaface 0.0.5 depends on tensorflow==2.1.0
    retinaface 0.0.4 depends on tensorflow==2.1.0
    retinaface 0.0.3 depends on tensorflow==2.1.0
    retinaface 0.0.2 depends on tensorflow==2.1.0
    retinaface 0.0.1 depends on tensorflow==2.1.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
froce iT邦大師 1 級 ‧ 2022-04-08 07:58:27 檢舉
retinaface 0.0.6 depends on tensorflow==2.1.0

你要的套件只吃 tensorflow 2.1.0
謝謝大大
我pip Install tensorflow==2.1.0
出現ERROR: Could not find a version that satisfies the requirement 2.1.0 (from versions: none)
過舊,不支援了!
這是不是表示我該嘗試其他Face Detection的套件XD
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答