Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96016 > unrolled thread
| Started by | moinakb@gmail.com |
|---|---|
| First post | 2015-09-04 02:36 -0700 |
| Last post | 2015-09-04 03:55 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
Python Package installation causing [Error 13] Permission Denied on Windows 7 moinakb@gmail.com - 2015-09-04 02:36 -0700
Re: Python Package installation causing [Error 13] Permission Denied on Windows 7 Laura Creighton <lac@openend.se> - 2015-09-04 12:27 +0200
Re: Python Package installation causing [Error 13] Permission Denied on Windows 7 moinakb@gmail.com - 2015-09-04 03:55 -0700
| From | moinakb@gmail.com |
|---|---|
| Date | 2015-09-04 02:36 -0700 |
| Subject | Python Package installation causing [Error 13] Permission Denied on Windows 7 |
| Message-ID | <3edf469f-7062-4cbc-b9fa-f284ab2b10f3@googlegroups.com> |
I am running Python 3.4 on Windows 7 and is facing [Error 13] Permission Denied while installing Python packages such as SciPy, NumPy etc; here are the facts that I tried but failed:
1. I have admin privileges in my machine
2. The folder where pip/easy_install copies contents have full write for the user
3. I have tried Powershell with Unrestricted/RemoteSigned options
This is the line in *.py code that is causing exception
with open(target, 'wb') as f:
f.write(data)
What do I need to do to make this work? I am a windows domain user and obviously cannot run scripts with domain admin privileges.
[toc] | [next] | [standalone]
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Date | 2015-09-04 12:27 +0200 |
| Message-ID | <mailman.133.1441362435.8327.python-list@python.org> |
| In reply to | #96016 |
Over in the physics lab we have a big sign, which (translated) says: 'For windows 7, it is not enough to _be_ an admininstrator to install packages. When opening up the command prompt you also have to select the 'run as administrator' option.' No windows system here to test, but maybe this is your problem too. Laura
[toc] | [prev] | [next] | [standalone]
| From | moinakb@gmail.com |
|---|---|
| Date | 2015-09-04 03:55 -0700 |
| Message-ID | <97e5b9bd-97d1-4e3f-80fa-fb48a23f51b4@googlegroups.com> |
| In reply to | #96016 |
On Friday, September 4, 2015 at 3:07:19 PM UTC+5:30, moi...@gmail.com wrote: > I am running Python 3.4 on Windows 7 and is facing [Error 13] Permission Denied while installing Python packages such as SciPy, NumPy etc; here are the facts that I tried but failed: > 1. I have admin privileges in my machine > 2. The folder where pip/easy_install copies contents have full write for the user > 3. I have tried Powershell with Unrestricted/RemoteSigned options > This is the line in *.py code that is causing exception > > with open(target, 'wb') as f: > f.write(data) > > What do I need to do to make this work? I am a windows domain user and obviously cannot run scripts with domain admin privileges. And Yes, I do run command prompt with Admin privileges as well, but still it fails
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web