我收到以下錯誤Tensorflow錯誤在Windows
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\RSRIKA~1.UOF\\AppData\\Local\\Temp\\tmpdl2lzd4j'
when I run the following lines of code:
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)
的問題是在第二行"mnist=...."
第一行不產生IPython的控制檯任何錯誤,第二行會產生上述錯誤。我相信這是另一位用戶在這裏報告的錯誤:PermissionError: [Errno 13] Permission denied when doing input_data.read_data_sets(..)
看起來好像問題沒有解決。任何幫助都感激不盡。我在Spyder上運行Anaconda附帶的代碼。 Windows Tensorflow with Python unable to read mnist data due to permissions的答案沒有解決我的問題。我重新安裝了Anaconda併爲「所有用戶」標記了方框,但我仍然遇到同樣的錯誤。
這裏嘗試了答案:HTTP:/ /stackoverflow.com/questions/41076047/windows-tensorflow-with-python-unable-to-read-mnist-data-due-to-permissions – MYGz
@MYGz謝謝,我試過了。我重新安裝了Anaconda併爲「所有用戶」標記了方框,但是之後它仍然給出了相同的錯誤。如果這有幫助,錯誤消息中文件夾路徑的最後部分從tmpd121zd4j更改爲tmp42vw2cce。每次運行代碼時,它都會更改錯誤消息中路徑的最後部分。 – RST