[Solution] PermissionError: [Errno 13] Permission denied Anaconda3 installs TensorFlow error;

Install the cpu version of TensorFlow

pip install --upgrade --ignore-installed tensorflow

Prompt the following error:

PermissionError: [Errno 13] Permission denied: 'C:\\ProgramData\\Anaconda3\\Lib\\site-packages\\numpy\\core\\multiarray.cp36-win_amd64.pyd'

Solution:

There are some files that are locked by anaconda (or some other process), TensorFlow may need to read and write this file, so what I do is close every process related to anaconda, close the spyder that is opening, activate TensorFlow, and re-execute the following commands :

1) conda update --all
2) pip install --ignore-installed tensorflow


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325853670&siteId=291194637