<div dir="ltr">sudo pip ... etc</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 26, 2015 at 2:13 PM,  <span dir="ltr"><<a href="mailto:paul.hermeneutic@gmail.com" target="_blank">paul.hermeneutic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After a fresh install of Python 2.7 32-bit and 64-bit, upgrading pip<br>
using pip fails. Am I doing this incorrectly? Any suggestions?<br>
<br>
C:\Python27-32\Scripts>pip install --upgrade pip<br>
You are using pip version 7.0.1, however version 7.1.2 is available.<br>
You should consider upgrading via the 'pip install --upgrade pip' command.<br>
Collecting pip<br>
  Using cached pip-7.1.2-py2.py3-none-any.whl<br>
Installing collected packages: pip<br>
  Found existing installation: pip 7.0.1<br>
    Uninstalling pip-7.0.1:<br>
      Successfully uninstalled pip-7.0.1<br>
Exception:<br>
Traceback (most recent call last):<br>
  File "C:\Python27-32\lib\site-packages\pip\basecommand.py", line 223, in main<br>
    logger.debug('Exception information:', exc_info=True)<br>
  File "C:\Python27-32\lib\site-packages\pip\commands\install.py",<br>
line 297, in run<br>
    wb = WheelBuilder(<br>
  File "C:\Python27-32\lib\site-packages\pip\req\req_set.py", line<br>
633, in install<br>
    for requirement in to_install:<br>
  File "C:\Python27-32\lib\site-packages\pip\req\req_install.py", line<br>
734, in commit_uninstall<br>
<br>
  File "C:\Python27-32\lib\site-packages\pip\req\req_uninstall.py",<br>
line 153, in commit<br>
    self.save_dir = None<br>
  File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py",<br>
line 49, in wrapped_f<br>
    return Retrying(*dargs, **dkw).call(f, *args, **kw)<br>
  File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py",<br>
line 212, in call<br>
    raise attempt.get()<br>
  File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py",<br>
line 247, in get<br>
    six.reraise(self.value[0], self.value[1], self.value[2])<br>
  File "C:\Python27-32\lib\site-packages\pip\_vendor\retrying.py",<br>
line 200, in call<br>
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)<br>
  File "C:\Python27-32\lib\site-packages\pip\utils\__init__.py", line<br>
89, in rmtree<br>
    shutil.rmtree(dir, ignore_errors=ignore_errors,<br>
  File "C:\Python27-32\lib\shutil.py", line 247, in rmtree<br>
    rmtree(fullname, ignore_errors, onerror)<br>
  File "C:\Python27-32\lib\shutil.py", line 247, in rmtree<br>
    rmtree(fullname, ignore_errors, onerror)<br>
  File "C:\Python27-32\lib\shutil.py", line 252, in rmtree<br>
    onerror(os.remove, fullname, sys.exc_info())<br>
  File "C:\Python27-32\lib\site-packages\pip\utils\__init__.py", line<br>
101, in rmtree_errorhandler<br>
    # use the original function to repeat the operation<br>
WindowsError: [Error 5] Access is denied:<br>
'c:\\users\\pwatson\\appdata\\local\\temp\\pip-4nt07e-uninstall\\python27-32\\scripts\\pip.exe'<br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div></div>
</div>