pip resolver says conflicting numpy versions but I only asked for one
pip 24.0, Python 3.11. pip install -r requirements.txt fails with ERROR: Cannot install -r requirements.txt (line 4) and -r requirements.txt (line 12) because these package versions have conflicting dependencies. Both lines are numpy-related. One pins numpy==1.26.4, the other is scipy==1.13.0 which shouldn't conflict at all. The resolver output is genuinely confusing. How do I see which dependency is actually pulling in the other version?
4 replies