Alles anzeigenDie requirements.txt erfordert :
Zitatmatplotlib==3.8.3
numpy==2.2.3
Wenn ich versuche, das so zu installieren, dann kommt aber: ZitatERROR: Cannot install -r requirements.txt (line 1) and numpy==2.2.3 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested numpy==2.2.3
matplotlib 3.8.3 depends on numpy<2 and >=1.21
???
Das hatte ich auch.
Bei mir hat es gereicht NumPy aus der Requirements.txt rauszunehmen.
Dann wurde alles installert. Er hat mir dabei auch noch die alte numpy und das alte mathplotlib deinstalliert und dann die passenden Versionen installiert.
ZitatAlles anzeigenInstalling collected packages: numpy, opencv_python_headless, opencv_python, matplotlib
Attempting uninstall: numpy
Found existing installation: numpy 2.1.3
Uninstalling numpy-2.1.3:
Successfully uninstalled numpy-2.1.3
Attempting uninstall: matplotlib
Found existing installation: matplotlib 3.10.0
Uninstalling matplotlib-3.10.0:
Successfully uninstalled matplotlib-3.10.0
Successfully installed matplotlib-3.8.3 numpy-1.26.4 opencv_python-4.9.0.80 opencv_python_headless-4.10.0.84