I tried to install stellargraph
in a Python 3.6.13 venv. It threw the following error:
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.
It is pretty self-explanatory from your console output.
stellargraph
needstensorflow>=2.1.0
which isn't not supported by your pip version18.1
.So when you updated
pip
to21.0.1
, it could find a successful distribution oftensorflow
(>2.1.0
) and could therefore installstellargraph
in the correct manner.