google-research / deeplab2

DeepLab2 is a TensorFlow library for deep labeling, aiming to provide a unified and state-of-the-art TensorFlow codebase for dense pixel labeling tasks.
Apache License 2.0
998 stars 157 forks source link

Numpy Issue #171

Open sourav164 opened 9 months ago

sourav164 commented 9 months ago

Tensorflow 2.6 and Keras 2.6 is installing Numpy 1.19.5. During matplotlib installation, it updates the Numpy to 1.26.2. I reinstalled Tensorflow and Keras, which again installed 1.19.5. When I have Numpy 1.19.5, matplotlib does not work. On the other hand, Tensorflow does not work with 1.26.2. Do you have any solution for this issue? Here is the output during tensorflow reinstallation. Any idea how to solve this issue?

I am using windows 11.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

contourpy 1.2.0 requires numpy<2.0,>=1.20, but you have numpy 1.19.5 which is incompatible.
matplotlib 3.8.2 requires numpy<2,>=1.21, but you have numpy 1.19.5 which is incompatible.