Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'dependency': 0.07; 'shutil': 0.07; 'cc:addr:python-list': 0.09; '22,': 0.09; 'errno': 0.09; 'ioerror:': 0.09; 'python': 0.10; 'thu,': 0.15; 'dll,': 0.16; 'folder.': 0.16; "skip:' 60": 0.16; 'subject:access': 0.16; 'wrote:': 0.16; 'exists': 0.18; '>>>': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'permission': 0.20; 'seems': 0.23; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'install': 0.25; 'updating': 0.27; 'message-id:@mail.gmail.com': 0.27; 'btw,': 0.29; '-----': 0.29; 'subject:/': 0.30; 'another': 0.32; "can't": 0.32; 'run': 0.33; 'file': 0.34; 'gets': 0.35; 'received:google.com': 0.35; 'could': 0.35; 'i.e.': 0.35; 'possible': 0.36; 'loaded': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'does': 0.39; 'subject:-': 0.39; 'due': 0.65; 'oscar': 0.84; 'pip': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=UemXRgYPhSDRW/aF69m+3UIpe/R4D/U5l8/uz1RWV3s=; b=a+0HnDNkxk7ROFDaHRdin8yFQJ5PZtqQRWX0nv9KyPFkcdt2TW4NA93htmyR4JU4fX 0wrRCoNxw29IfjFKbwtxpiSSAE8FiYG/kTzerIYdXvIqWnHCcOuTzqCjsy+9xKYg/FoN wiV/iVkR72O3TkLK4LFBVh4jIavLZblhpUyBmEcZ5EGEL+LbTlf9ZAuxnkEumpJDz13f wo3pE3Q8/TWJKutb47wxLpJmAspiy6GTFFXQZYXTrtG+Yk2t55ahxdmtvGko7j0Jm+Pm rKTg7BmhuYWx9jXaF25alTOJvxSBxSphUNq5nEYN+utHsxD0pOsqSaMhGGJMD+4AlOre DkyQ== X-Received: by 10.25.211.85 with SMTP id k82mr5545096lfg.100.1445518631860; Thu, 22 Oct 2015 05:57:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <021B824D533D44B9A5218FB08C28E1D5@dev.null> References: <3198262E68F6451DBCF040F61F568832@dev.null> <021B824D533D44B9A5218FB08C28E1D5@dev.null> From: Oscar Benjamin Date: Thu, 22 Oct 2015 13:56:52 +0100 Subject: Re: A high-level cross-platform API for terminal/console access To: Gisle Vanem Cc: Python-list Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1445518634 news.xs4all.nl 23809 [2001:888:2000:d::a6]:37068 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97902 On 22 October 2015 at 13:42, Gisle Vanem wrote: > "Chris Angelico" wrote: > >> On Thu, Oct 22, 2015 at 10:22 PM, Gisle Vanem wrote: >>> >>> IOError: [Errno 13] Permission denied: >>> 'g:\\Programfiler\\Python27\\Lib\\site-packages\\win32\\win32api.pyd' >>> >>> ----- >>> >>> BTW, this is on Python 2.7.9 on Win-XP SP3. >> >> >> Does that file exist? A .pyd file is a DLL, so if it already exists >> and is in use, it's entirely possible it can't be overwritten (eg to >> upgrade it). > > > It exists all right and I do have full access to that folder. > > I think the Errno 13 (=EACCESS) is due to another module (WConio.pyd) that > seems gets loaded via my site-customize.py is using this > win32api.pyd. Hence it's is in use and shutil fails in updating it. Does it work if you ask pip to install each dependency separately? i.e. you could just run pip install pypiwin32. -- Oscar