Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing Tensorflow
#11
Thank snippsat,

I read your link and opened Anaconda prompt. I ran the code "pip3 install --upgrade tensorflow". It worked and everything installed but I did get some error notes followed by this note:

PermissionError: [WinError 5] Access is denied: 'C:\\Users\\SGrah\\AppData\\Local\\Temp\\pip-2khb9jdt-uninstall\\users\\sgrah\\anaconda3\\lib\\site-packages\\numpy\\core\\multiarray.cp36-win_amd64.pyd'
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

I then typed into Spyder:

import tensorflow as tf
and I get this error:

import tensorflow as tf
Traceback (most recent call last):

File "<ipython-input-1-64156d691fe5>", line 1, in <module>
import tensorflow as tf

ModuleNotFoundError: No module named 'tensorflow'
Reply
#12
(Jun-04-2018, 12:01 AM)Scott Wrote: PermissionError: [WinError 5] Access is denied:
Look at my post again.
snippsat Wrote:Start cmd as admin
Same with Anaconda prompt(which is just a cmd version that always point to Anaconda),start it as admin.
Reply
#13
I right click on Anaconda prompt and clicked 'Run as administrator'. I then typed the following code and got the following errors:

(base) C:\WINDOWS\system32>pip3 install --upgrade tensorflow
'pip3' is not recognized as an internal or external command,
operable program or batch file.

(base) C:\WINDOWS\system32>cd C:\Users\SGrah

(base) C:\Users\SGrah>pip3 install --upgrade tensorflow
'pip3' is not recognized as an internal or external command,
operable program or batch file.
Reply
#14
Did i use pip3 in my example?
There only pip.exe in Scripts folder.
pip install --upgrade tensorflow
Reply
#15
It worked thanks a lot
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing tensorflow Blue Dog 7 4,945 Nov-10-2019, 11:54 PM
Last Post: snippsat
  Installing Tensorflow-GPU Help junzhi 1 3,188 Oct-04-2018, 12:40 PM
Last Post: Larz60+
  Installing Tensorflow-GPU junzhi 2 3,697 Sep-30-2018, 07:43 AM
Last Post: junzhi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020