Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems when trying to install tensorflow

I am trying to install tensorflow by using "!pip install tensorflow"(on python 3.8) but what I get is the following error message:

tf-nightly 2.5.0.dev20210102 requires grpcio~=1.34.0, but you'll have grpcio 1.32.0 which is incompatible.
tf-nightly 2.5.0.dev20210102 requires h5py~=3.1.0, but you'll have h5py 2.10.0 which is incompatible.
tf-nightly-gpu 2.5.0.dev20210102 requires grpcio~=1.34.0, but you'll have grpcio 1.32.0 which is incompatible.
tf-nightly-gpu 2.5.0.dev20210102 requires h5py~=3.1.0, but you'll have h5py 2.10.0 which is incompatible.

How can I solve this problem?

like image 878
Eni Avatar asked Dec 06 '25 11:12

Eni


1 Answers

Have you already installed tf-nightly if not then do it using pip install tf-nightlya nd then pip install grpcio. The error itself clarifies that it needs the updated version of grpcio (requires grpcio~=1.34.0, but you'll have grpcio 1.32.0 which is incompatible).Follow this link to get complete details of the process to install TensorFlow.

like image 170
think-maths Avatar answered Dec 09 '25 01:12

think-maths



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!