Problems encountered when installing tensorflow

Experience problems with numpy version does not match the run-time tensorflow after the installation is complete, execute pip show numpy / tensorflow view was the appropriate version of the library, as shown:

 

 My numpy version 1.17.1, numpy version will need to downgrade, execute pip uninstall numpy removed numpy, then perform pip install numpy == 1.16.0 1.16.0 version was installed numpy, and then run the program, everything is normal, the problem is solved .

In too low when you install version numpy, an error occurs

 

 Meaning setuptools version is too low, the implementation pip install --upgrade setuptools setuptools updates, problem resolution

Guess you like

Origin www.cnblogs.com/cxxBoo/p/11434310.html