• Register
0 votes
1.7k views

Problem  :

I am using windows 10. I also have Tensorflow on my box.It says "Hello Tensorflow!" to me. However it has all of below before it:

2019-12-05 18:16:01.500579: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 2019-12-05 18:16:01.769002: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1405] Found device 0 with properties: name: GeForce GTX 950 major: 5 minor: 2 memoryClockRate(GHz): 1.3545 pciBusID: 0000:01:00.0 totalMemory: 2.00GiB freeMemory: 1.64GiB 2019-12-05 18:16:01.774030: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1484] Adding visible gpu devices: 0 2019-12-05 18:16:02.095489: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:965] Device interconnect StreamExecutor with strength 1 edge matrix: 2019-12-05 18:16:02.099093: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0 2019-12-05 18:16:02.100631: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:984] 0: N 2019-12-05 18:16:02.102156: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1097] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1401 MB memory) -> physical GPU (device: 0, name: GeForce GTX 950, pci bus id: 0000:01:00.0, compute capability: 5.2) Hello Tensorflow!

Process returned 0 (0x0) execution time : 2.327 s Press any key to continue

But when I type pip3 install --upgrade tensorflow-gpu in my cmd, both administrative and normal I get following Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\users\\alecxe\\appdata\\local\\programs\\python\\python35\\Lib\\site-packages\\numpy\\.libs\\libopenblas.BNVRK7633HSX7YVO2TADGR4A5KEKXJAW.gfortran-win_amd64.dll' Consider using the--useroption or check the permissions.

Any solution on this issue?

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

 Please type below command if you want execute with the user permission, else you don't want to change the permission:

pip3 install --upgrade tensorflow-gpu --user

 And your issue is resolved.

38.6k points

Related questions

0 votes
1 answer 41 views
41 views
Problem: I have windows 10. I have completed installing Tensorflow. It works. It says "Hello Tensorflow!". But it has all of this before it: 2018-08-18 18:16:01.500579: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports ... `--user` option or check the permissions. Please help me out. Not a computer Scientist or an Engineer. But I code for fun.
asked Apr 26 Moumita Bhowmick 12.9k points
0 votes
1 answer 13 views
13 views
Problem : What is the best way for me to address this problem: Could not install packages due to an environmenterror: [winerror 5] access is denied?
asked Jun 13 Sifat55 104k points
0 votes
1 answer 47 views
47 views
Problem: I don't really understand what to do now : Could not install packages due to an environment error: [errno 13] permission denied
asked Apr 26 ochena 23.3k points
0 votes
2 answers 1.4k views
1.4k views
Problem : In the MacOS Mojave terminal I am trying to install a python package with pip. At the end of it says as follows : You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Here ... to do.Also I just realized that it says Python 2.7 in the error message but I have python 3 and want to use only python 3.
asked Dec 10, 2019 alecxe 7.5k points
0 votes
1 answer 7 views
7 views
Problem: I am looking for a solution to this : Could not install packages due to an environmenterror: [errno 13].
asked Jun 20 Priscilla Gurpreet 71k points
0 votes
1 answer 17 views
17 views
Problem: I am trying to install numpy on macOS X but after executing the command pip install numpy I am getting the error: Environment error :[error 13]: permission denied : 'usr/local/bin/f2py How do I fix it?
asked May 16 Irenka Kiri 85.5k points
0 votes
1 answer 14 views
14 views
Problem: Does anyone have a solution to the current issue? > Could not install packages due to an environmenterror .
asked May 13 Isac Christiaan 102k points
0 votes
1 answer 19 views
19 views
Problem: Can’t notice any problem, help >Pip could not install packages due to an environmenterror
asked May 10 Chi Omega 166k points
0 votes
1 answer 201 views
201 views
Problem: I relatively new to coding so I am not (yet) running virtual environments. Rather, I am just downloading packages with pip straight to my pc to run python 3.7 in atom. When I tried to use pip the other day to install the scrapy package like so ... .json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available. Any direction would be heartily appreciated
asked May 4 Yeamin 23.5k points
0 votes
1 answer 21 views
21 views
Problem: pip install -r requirements.txt fails with the exception below OSError: [Errno 13] Permission denied: '/usr/local/lib/.... What's wrong and how do I fix this?
asked Apr 21 ummesalma 29.1k points