大大好
如題
我爬了一下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