(venv) D:\auto-resize>python resize.py Traceback (most recent call last): File "D:\auto-resize\resize.py", line 8, in from retinaface import RetinaFace ModuleNotFoundError: No module named 'retinaface' (venv) D:\auto-resize>pip install retinaface Collecting retinaface Using cached retinaface-1.1.1-py3-none-any.whl (5.9 MB) Collecting opencv-python-headless==4.6.0.66 Using cached opencv_python_headless-4.6.0.66-cp36-abi3-win_amd64.whl (35.5 MB) Collecting streamlit-webrtc==0.42.0 Downloading streamlit_webrtc-0.42.0-py3-none-any.whl (863 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 863.6/863.6 kB 10.9 MB/s eta 0:00:00 Collecting streamlit==1.10.0 Using cached streamlit-1.10.0-py2.py3-none-any.whl (9.1 MB) Collecting retinaface Using cached retinaface-1.1.0-py3-none-any.whl (5.9 MB) Collecting opencv-python==4.6.0.66 Using cached opencv_python-4.6.0.66-cp36-abi3-win_amd64.whl (35.6 MB) 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, retinaface==0.0.6, retinaface==1.1.0 and retinaface==1.1.1 because these package versions have conflicting dependencies. The conflict is caused by: retinaface 1.1.1 depends on tensorflow==2.5.0 retinaface 1.1.0 depends on tensorflow==2.5.0 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 [notice] A new release of pip is available: 23.0.1 -> 23.3.2 [notice] To update, run: python.exe -m pip install --upgrade pip (venv) D:\auto-resize>pip install tensorflow==2.5.0 ERROR: Could not find a version that satisfies the requirement tensorflow==2.5.0 (from versions: 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0) ERROR: No matching distribution found for tensorflow==2.5.0 [notice] A new release of pip is available: 23.0.1 -> 23.3.2 [notice] To update, run: python.exe -m pip install --upgrade pip (venv) D:\auto-resize>pip install retinaface==1.1.1 Collecting retinaface==1.1.1 Using cached retinaface-1.1.1-py3-none-any.whl (5.9 MB) ERROR: Could not find a version that satisfies the requirement tensorflow==2.5.0 (from retinaface) (from versions: 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0) ERROR: No matching distribution found for tensorflow==2.5.0 [notice] A new release of pip is available: 23.0.1 -> 23.3.2 [notice] To update, run: python.exe -m pip install --upgrade pip (venv) D:\auto-resize>pip install tensorflow==2.1.0 ERROR: Could not find a version that satisfies the requirement tensorflow==2.1.0 (from versions: 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0) ERROR: No matching distribution found for tensorflow==2.1.0 [notice] A new release of pip is available: 23.0.1 -> 23.3.2 [notice] To update, run: python.exe -m pip install --upgrade pip