During the recent reinstallation of TensorFlow , an abnormal problem that the pip version needs to be updated suddenly appeared , as follows:
Youare using pip version 9.0.1, however version 10.0.1 is available.
Youshould consider upgrading via the 'python -m pip install --upgrade pip'command.
Then when the above blue command is executed, an exception is thrown, as follows
Exception:
Traceback (most recent call last):
File"C:\Program Files\Python36\lib\shutil.py", line 544, in move
os.rename(src, real_dst)
PermissionError: [WinError 5] Access is denied. :'c:\\program files\\python36\\lib\\site-packages\\pip-9.0.1.dist-info\\description.rst'
. . . . . .
PermissionError: [WinError 5] Access is denied. :'c:\\programfiles\\python36\\lib\\site-packages\\pip-9.0.1.dist-info\\description.rst'
You are using pip version 9.0.1, howeverversion 10.0.1 is available.