Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!usenetcore.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; 'skip:" 60': 0.05; '*args,': 0.07; 'cached': 0.09; 'command.': 0.09; 'exception:': 0.09; 'fails.': 0.09; 'false)': 0.09; 'subject:2.7': 0.09; 'uninstalled': 0.09; 'python': 0.10; '2.7': 0.13; 'commit': 0.15; '49,': 0.16; '64-bit,': 0.16; '89,': 0.16; 'fullname,': 0.16; 'packages:': 0.16; 'subject:install': 0.16; 'uninstalling': 0.16; 'skip:" 30': 0.20; '(most': 0.24; 'install': 0.25; 'message- id:@mail.gmail.com': 0.27; 'collecting': 0.27; 'function': 0.28; '32-bit': 0.29; 'subject:upgrade': 0.29; 'raise': 0.29; 'run': 0.33; 'traceback': 0.33; 'file': 0.34; 'received:google.com': 0.35; 'attempt': 0.35; 'fresh': 0.35; 'installing': 0.35; 'skip:" 50': 0.35; 'skip:p 30': 0.35; 'skip:i 20': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'available.': 0.37; 'requirement': 0.37; 'doing': 0.38; 'version': 0.38; 'to:addr:python.org': 0.40; 'from:no real name:2**0': 0.60; 'repeat': 0.67; 'upgrading': 0.72; '**kw)': 0.84; '[error': 0.84; 'pip': 0.84; '212,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=u1y+iT/ZnsNINxT0Eykm2OHheINasg56yJZCbk2+jEw=; b=lAUT2xpiBpk/t6K/E6od1371iABtyqX07in3vNDPfRhjKvigMwShsSZzR6A3r+R/KJ 68MmP/E69TNrclSMDhIUMjhRlUV3TjFvlkjlRdO+4sSpqafscOyPtP2B7w/vjzlnoD/x nXePiH8pxB/6glIhGVCaoFmc7fheTgiYns4nNkHpJLTxSinnYtkWxoNj57DAcpsCpeIr 5OCBvlfPW9NIW/xfoK4SHDm85xkp0CrYcptsmXfgFdTZru9URD0DT5OcQteQjRSW6Bvk kQobRBZP76S7VLeJfZ9su70BPpfPCbP8TLiwQRxRY4JESaw4zz/C968H5OjRd9knKeqF CHeg== X-Received: by 10.152.6.100 with SMTP id z4mr3307372laz.69.1443291216810; Sat, 26 Sep 2015 11:13:36 -0700 (PDT) MIME-Version: 1.0 From: paul.hermeneutic@gmail.com Date: Sat, 26 Sep 2015 12:13:17 -0600 Subject: Failed to upgrade pip in fresh 2.7 install To: python-list@python.org 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: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1443291224 news.xs4all.nl 23847 [2001:888:2000:d::a6]:53599 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97142 After a fresh install of Python 2.7 32-bit and 64-bit, upgrading pip using pip fails. Am I doing this incorrectly? Any suggestions? C:\Python27-32\Scripts>pip install --upgrade pip You are using pip version 7.0.1, however version 7.1.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting pip Using cached pip-7.1.2-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 7.0.1 Uninstalling pip-7.0.1: Successfully uninstalled pip-7.0.1 Exception: Traceback (most recent call last): File "C:\Python27-32\lib\site-packages\pip\basecommand.py", line 223, in main logger.debug('Exception information:', exc_info=True) File "C:\Python27-32\lib\site-packages\pip\commands\install.py", line 297, in run wb = WheelBuilder( File "C:\Python27-32\lib\site-packages\pip\req\req_set.py", line 633, in install for requirement in to_install: File "C:\Python27-32\lib\site-packages\pip\req\req_install.py", line 734, in commit_uninstall File "C:\Python27-32\lib\site-packages\pip\req\req_uninstall.py", line 153, in commit self.save_dir = None File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f return Retrying(*dargs, **dkw).call(f, *args, **kw) File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py", line 212, in call raise attempt.get() File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py", line 247, in get six.reraise(self.value[0], self.value[1], self.value[2]) File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py", line 200, in call attempt = Attempt(fn(*args, **kwargs), attempt_number, False) File "C:\Python27-32\lib\site-packages\pip\utils\__init__.py", line 89, in rmtree shutil.rmtree(dir, ignore_errors=ignore_errors, File "C:\Python27-32\lib\shutil.py", line 247, in rmtree rmtree(fullname, ignore_errors, onerror) File "C:\Python27-32\lib\shutil.py", line 247, in rmtree rmtree(fullname, ignore_errors, onerror) File "C:\Python27-32\lib\shutil.py", line 252, in rmtree onerror(os.remove, fullname, sys.exc_info()) File "C:\Python27-32\lib\site-packages\pip\utils\__init__.py", line 101, in rmtree_errorhandler # use the original function to repeat the operation WindowsError: [Error 5] Access is denied: 'c:\\users\\pwatson\\appdata\\local\\temp\\pip-4nt07e-uninstall\\python27-32\\scripts\\pip.exe'