D_Serg
D_Serg

Reputation: 494

Why did Stellargraph could install when I updated pip?

I tried to install stellargraph in a Python 3.6.13 venv. It threw the following error:

enter image description here

Then I ran pip install --upgrade pip and re-ran the installation. It worked. I want to understand why upgrading pip was the game changer. The error related to TensorFlow had nothing to do with it.

Upvotes: 0

Views: 1750

Answers (1)

user2357448
user2357448

Reputation:

It is pretty self-explanatory from your console output. stellargraph needs tensorflow>=2.1.0 which isn't not supported by your pip version 18.1.

So when you updated pip to 21.0.1, it could find a successful distribution of tensorflow (>2.1.0) and could therefore install stellargraph in the correct manner.

Upvotes: 1

Related Questions