Hello, installed python 3.5.2 on anacond 2.5 for windows 10. Recently, Tensorflow started working under windows (with the possibility of using gpu). Put it in python 3.5.2 environment. The simplest fragments of the Session.run type, tensor calculations work fine. But when you run queries to mnist, iris, official examples, it gives errors. For example, when trying to run the next two lines

from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) 

Such text:

 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\Me\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py", line 211, in read_data_sets SOURCE_URL + TRAIN_IMAGES) File "C:\Users\Me\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\base.py", line 141, in maybe_download urllib.request.urlretrieve(source_url, temp_file_name) File "C:\Users\Me\Anaconda3\lib\urllib\request.py", line 198, in urlretrieve tfp = open(filename, 'wb') PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Me\\AppData\\Local\\Temp\\tmpv_0xsfi_' 

Tried to run from the command line, making the python run as administrator - the same thing. What can be done?

    1 answer 1

    Everything works if you install on this tutorial http://bottomstack.com/installing-tensorflow-windows-and-visual-studio/

    1) Put the python from here necessarily when installing put a tick on Add python as PATH 2) CUDA from here 3) download the appropriate version of CUDA cuDNN , unpack it in C: \ Program Files \ NVIDIA GPU Computing Toolkit \ CUDA \ v8.0 4) restart computer 5 ) go to the command line and copy pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl

    • 2
      You can specify the necessary steps in the answer? The link may eventually become inaccessible ... - MaxU