Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102044
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "Steve Petrie, P.Eng." <apetrie@aspetrie.net> |
| Newsgroups | comp.lang.python |
| Subject | pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3); |
| Date | Thu, 21 Jan 2016 11:40:29 -0500 |
| Lines | 209 |
| Message-ID | <mailman.180.1453560799.15297.python-list@python.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de WmNao6Ekb0JVicH3Dp4ODw915lAxwlo3h+8JeI8sunsA== |
| Return-Path | <apetrie@aspetrie.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'subject:Python': 0.05; 'upgraded': 0.05; "'python": 0.07; 'args)': 0.07; 'backslash': 0.09; 'cached': 0.09; 'command.': 0.09; 'exception:': 0.09; 'failure.': 0.09; 'incorrect': 0.09; 'ioerror:': 0.09; 'uninstalled': 0.09; 'bug': 0.10; 'advance': 0.10; 'python': 0.10; 'subject:error': 0.11; 'url:)': 0.14; 'skip:f 30': 0.15; '"/"': 0.16; '"\\\\"': 0.16; '(3,': 0.16; 'abi': 0.16; 'link)': 0.16; 'packages:': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'slash': 0.16; 'subject:Permission': 0.16; 'subject:fails': 0.16; 'subject:install': 0.16; 'uninstalling': 0.16; 'unset,': 0.16; 'config': 0.18; 'shell': 0.18; 'steve': 0.18; 'variable': 0.18; '(not': 0.20; 'windows': 0.20; 'permission': 0.20; 'location,': 0.22; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.22; 'trying': 0.22; 'programming': 0.22; 'bit': 0.23; '(or': 0.23; 'installation': 0.23; 'dec': 0.23; 'second': 0.24; 'tried': 0.24; '(most': 0.24; 'install': 0.25; 'command': 0.26; 'installed': 0.26; 'skip:_ 20': 0.26; 'appreciated.': 0.27; 'wonder': 0.27; 'least': 0.27; 'collecting': 0.27; 'skip:i 40': 0.27; "skip:' 10": 0.28; 'skip:u 20': 0.28; 'skip:( 20': 0.28; 'interface': 0.29; 'looks': 0.29; "i'm": 0.30; 'received:184': 0.30; 'fixed': 0.31; 'skip:s 30': 0.31; 'skip:_ 10': 0.32; 'run': 0.33; 'displayed': 0.33; 'downloading': 0.33; 'traceback': 0.33; 'similar': 0.33; 'file': 0.34; 'list': 0.34; 'advice': 0.35; 'could': 0.35; 'attempt': 0.35; 'installing': 0.35; 'skip:p 30': 0.35; 'but': 0.36; 'should': 0.36; 'instead': 0.36; 'there': 0.36; 'url:org': 0.36; 'lines': 0.36; 'email addr:python.org': 0.36; 'subject:" ': 0.36; 'to:addr:python-list': 0.36; 'thanks': 0.37; 'available.': 0.37; 'skip:s 50': 0.37; 'itself': 0.38; 'version': 0.38; 'skip:s 40': 0.38; 'skip:p 20': 0.38; 'mailing': 0.38; 'url:en': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'some': 0.40; 'address': 0.61; 'skip:u 10': 0.61; 'ending': 0.63; 'different': 0.63; 'complete': 0.63; 'python-list': 0.66; 'forward': 0.66; 'note:': 0.66; 'email name:python-list': 0.67; 'greetings': 0.71; 'further,': 0.72; 'upgrading': 0.72; '100%': 0.72; 'as:': 0.79; 'announces': 0.84; 'confirming': 0.84; 'per:': 0.84; 'pip': 0.84; "skip:' 80": 0.84; 'provide,': 0.91; 'package:': 0.93; '***': 0.95; 'response,': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aspetrie.net; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Subject:To:From:Message-ID; bh=CT7X2HIPOYn7PGR0Ll1nsjVjsasCT9CAoDQusaH7pkw=; b=6LXz4cP3YnqdUKEvaUwVyhSPpcyYLqBkFTOm0KHVqFVRi1bK3OvSEX2+D9pOiemENNiUEy0k9fV8t1M3VGqS88bN1J2+/RJE06ksI/Y8KQltVfysTxsz2tp3pJtw9KWSTJXPK9BcYdCfBWm6Djt7DtWVzmGK8GuPgxfmnQJ99zY=; |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Mailer | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - serv01.siteground224.com |
| X-AntiAbuse | Original Domain - python.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - aspetrie.net |
| X-Get-Message-Sender-Via | serv01.siteground224.com: none |
| X-Filter-ID | s0sct1PQhAABKnZB5plbIYISteDNeiT4z/NaNXS3jatmxCxI0ND4q/yqB0VEaTt3x5YB+7NnUQEm Uw8kSDgJq+YyTALggh/5SiX1NN9S6BB5/SDTSfNvx2KjgeKsMoWF+etI3X3TkjWXy6S3OYl6FIIw z6siUV12GKoXB/7lgaRhffjWhUUMr9LsfDiICGF6TdiSp628SHG21ZADbORyGnGm0UTTyxOTzwoz lGrp/nKjqr0XfnYY1bOreZTXTui2HAkk7g6W7v9zZ9HLerco58OmwZ+nuYnT578Ww1mNaUOceXZN G0EUbELA0uv9YhdOaEKYvM7FMBxCYVZUBGGA2lm5Om4bLejegHxHeNoLwP9itHw4OCF/5bcoDJvz J3tJzq5mCuPV7WWMXS2nHKxcnpyXnXfC7RKIrIlAX4WrEXKkW7bljlpIFafYf7IoIxHeZjPHZmDK F/c5eJ11mBpxZwLAWNbdGzbSDF7mSvUPfMgXKu1VbgppFJRGoXLED7mHOorfdw9UZR77jQo++5pl MjIwtKwwE7YieRnObu2MSgA/UwDsQPuCzXrmumJ3rx8TK2N5w/AUkNBwaZ9Vr5t4MIzIacMilJyG VyjpEgOg2D8dzNP2/33citQ+tPfbV/JlFWy/RJuCIUKhcpwjFCixkWzyPC9AmOoKWHiRtMPS8Sas tFRwr/0guA7EBsz1qTwWRRKt8Bca+hgiwK/YG3lRZvY4ocfmWv3Fe9Iziczdq+A= |
| X-Report-Abuse-To | spam@quarantine.mailspamprotection.com |
| X-Filter-Fingerprint | IFrWXGses7OKB5S5G8/dJb0kolOUiviGeQyDsBgQ6PBA3cTUQ1R++keuE7RDJ8Kg3RbMLUalw1oC mj99/u+Poh38tEMU4IgC4sNz49qn3HHnhRv/ZJ3kEy8bfiAr+Fb/UpndEJ0YoaLytXXo8BMTaX2p Mk7LBarWD9Fj4R3eIu5amSKkALoA6KDzkQ8jq89Qglr+eUaqsXi6ilYykBRNmy1w3rhXI7ypWHcC zReLskSoC1jzfYuYzO5TaopJL1l0EkXKTCB9mgAH2nNvM1GFDcH5C2MO7hTENZJE35bUvwA= |
| X-Originating-IP | 184.154.224.13 |
| X-SpamExperts-Domain | siteground224.com |
| X-SpamExperts-Username | 184.154.224.13 |
| Authentication-Results | mailspamprotection.com; auth=pass smtp.auth=184.154.224.13@siteground224.com |
| X-SpamExperts-Outgoing-Class | ham |
| X-SpamExperts-Outgoing-Evidence | Combined (0.04) |
| X-Recommended-Action | accept |
| X-Mailman-Approved-At | Sat, 23 Jan 2016 09:53:17 -0500 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:102044 |
Show key headers only | View raw
Greetings To Python-list,
I'm trying to install Python package:
mitmproxy (https://mitmproxy.org/)
on Windows XP SP3.
I'm a complete Python newbie. Not planning to do any Python programming
at this time. Just trying to get package mitmproxy working (or at least
the mitmdump component, since "There is no interactive user interface on
Windows." per:
http://docs.mitmproxy.org/en/stable/install.html
* * *
* * *
I have installed Python that announces itself on the Python command line
as:
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC
v.1500 32 bit (Intel)] on win32
* * *
* * *
I'm using the following command in a Win XP cmd.exe shell (not the
Python shell) to install mitmproxy:
pip install mitmproxy
The first install attempt failed, ending with some diagnostics displayed
in the Win XP cmd.exe shell window:
C:\Documents and Settings\SteveP>pip install mitmproxy
Collecting mitmproxy
Downloading mitmproxy-0.15.tar.gz (1.7MB)
100% |################################| 1.7MB 4.5kB/s
...
Collecting Pillow<3.1,>=3.0.0 (from mitmproxy)
Downloading Pillow-3.0.0-cp27-none-win32.whl (1.2MB)
100% |################################| 1.2MB 6.1kB/s
Collecting pyperclip<1.6,>=1.5.22 (from mitmproxy)
Downloading pyperclip-1.5.26.zip
Exception:
Traceback (most recent call last):
File "e:\a p p s\python27\lib\site-packages\pip\basecommand.py",
line 211, in main
status = self.run(options, args)
File "e:\a p p
s\python27\lib\site-packages\pip\commands\install.py", line 294, in run
requirement_set.prepare_files(finder)
File "e:\a p p s\python27\lib\site-packages\pip\req\req_set.py",
line 334, in prepare_files
functools.partial(self._prepare_file, finder))
File "e:\a p p s\python27\lib\site-packages\pip\req\req_set.py",
line 321, in _walk_req_to_install
more_reqs = handler(req_to_install)
File "e:\a p p s\python27\lib\site-packages\pip\req\req_set.py",
line 491, in _prepare_file
session=self.session)
File "e:\a p p s\python27\lib\site-packages\pip\download.py", line
825, in unpack_url
session,
File "e:\a p p s\python27\lib\site-packages\pip\download.py", line
677, in unpack_http_url
unpack_file(from_path, location, content_type, link)
File "e:\a p p s\python27\lib\site-packages\pip\utils\__init__.py",
line 645,in unpack_file
flatten=not filename.endswith('.whl')
File "e:\a p p s\python27\lib\site-packages\pip\utils\__init__.py",
line 546,in unzip_file
fp = open(fn, 'wb')
IOError: [Errno 13] Permission denied:
'c:\\docume~1\\stevep\\locals~1\\temp\\pip-buildpnnfyf\\pyperclip\\docs/make.bat'
You are using pip version 7.1.2, however version 8.0.0 is available.
You should consider upgrading via the 'python -m pip
install --upgrade pip' command.
C:\Documents and Settings\SteveP>
* * *
* * *
I upgraded pip to version 8.0.0:
C:\Documents and Settings\SteveP>python -m pip install --upgrade pip
Collecting pip
Downloading pip-8.0.0-py2.py3-none-any.whl (1.2MB)
100% |################################| 1.2MB 9.1kB/s
Installing collected packages: pip
Found existing installation: pip 7.1.2
Uninstalling pip-7.1.2:
Successfully uninstalled pip-7.1.2
Successfully installed pip-8.0.0
* * *
* * *
I tried again to install mitmproxy, and the installation got a little
further, but failed again on a similar error, on a different file
(watchdog-0.8.3.tar.gz instead of pyperclip-1.5.26.zip):
C:\Documents and Settings\SteveP>pip install mitmproxy
C:\Documents and Settings\SteveP>pip install mitmproxy
e:\a p p s\python27\lib\site-packages\pip\pep425tags.py:89:
RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may
be incorrect
warn=(impl == 'cp')):
e:\a p p s\python27\lib\site-packages\pip\pep425tags.py:93:
RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag
may be incorrect
warn=(impl == 'cp')):
e:\a p p s\python27\lib\site-packages\pip\pep425tags.py:99:
RuntimeWarning: Config variable 'Py_UNICODE_SIZE' is unset, Python ABI
tag may be incorrect
sys.version_info < (3, 3))) \
Collecting mitmproxy
Using cached mitmproxy-0.15.tar.gz
Collecting six<1.11,>=1.10.0 (from mitmproxy)
Using cached six-1.10.0-py2.py3-none-any.whl
...
Collecting pyperclip<1.6,>=1.5.22 (from mitmproxy)
Using cached pyperclip-1.5.26.zip
Collecting pydivert>=0.0.7 (from mitmproxy)
Downloading pydivert-0.0.7.zip
Collecting watchdog<0.9,>=0.8.3 (from mitmproxy)
Downloading watchdog-0.8.3.tar.gz (83kB)
100% |################################| 86kB 6.8kB/s
Exception:
Traceback (most recent call last):
File "e:\a p p s\python27\lib\site-packages\pip\basecommand.py",
line 209, in main
status = self.run(options, args)
File "e:\a p p
s\python27\lib\site-packages\pip\commands\install.py", line 299, in run
requirement_set.prepare_files(finder)
File "e:\a p p s\python27\lib\site-packages\pip\req\req_set.py",
line 359, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "e:\a p p s\python27\lib\site-packages\pip\req\req_set.py",
line 576, in _prepare_file
session=self.session, hashes=hashes)
File "e:\a p p s\python27\lib\site-packages\pip\download.py", line
809, in unp ack_url
hashes=hashes
File "e:\a p p s\python27\lib\site-packages\pip\download.py", line
652, in unp ack_http_url
unpack_file(from_path, location, content_type, link)
File "e:\a p p s\python27\lib\site-packages\pip\utils\__init__.py",
line 604, in unpack_file
untar_file(filename, location)
File "e:\a p p s\python27\lib\site-packages\pip\utils\__init__.py",
line 576, in untar_file
with open(path, 'wb') as destfp:IOError: [Errno 13] Permission
denied:
'c:\\docume~1\\stevep\\locals~1\\temp\\pip-build-5acs92\\watchdog\\docs/make.bat'
* * *
* * *
In both failure cases, it looks to me like there is a bug in the pip
logic, that is using a *nix forward slash "/" instead of a double
backslash "\\" before the file name "make.bat".
The upgrade to pip-8.0.0 fixed the first occurrence of the problem, but
not the second occurrence.
I note the warning lines displayed at the start of the second install
attempt:
C:\Documents and Settings\SteveP>pip install mitmproxy
e:\a p p s\python27\lib\site-packages\pip\pep425tags.py:89:
RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may
be incorrect
warn=(impl == 'cp')):
e:\a p p s\python27\lib\site-packages\pip\pep425tags.py:93:
RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag
may be incorrect
warn=(impl == 'cp')):
e:\a p p s\python27\lib\site-packages\pip\pep425tags.py:99:
RuntimeWarning: Config variable 'Py_UNICODE_SIZE' is unset, Python ABI
tag may be incorrect
sys.version_info < (3, 3))) \
and wonder if they are relevant to the failure.
* * *
* * *
Any advice Python-list members could provide, would be gratefully
received.
*** Please note: I subscribed to the mailing list python-list@python.org
but have not yet received an email confirming my subscription. So a cc
to my email address apetrie@aspetrie.net on any response, would be
appreciated. ***
Thanks In Advance !!
Steve
apetrie@aspetrie.net
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3); "Steve Petrie, P.Eng." <apetrie@aspetrie.net> - 2016-01-21 11:40 -0500
csiph-web