Failed to upgrade pip in fresh 2.7 install
Joel Goldstick
joel.goldstick at gmail.com
Sat Sep 26 14:53:24 EDT 2015
On Sat, Sep 26, 2015 at 2:52 PM, Joel Goldstick <joel.goldstick at gmail.com>
wrote:
> sudo pip ... etc
>
> On Sat, Sep 26, 2015 at 2:13 PM, <paul.hermeneutic at gmail.com> wrote:
>
>> 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'
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>
>
> sorry, you have windows. Do you need to be admin?
>
> --
> Joel Goldstick
> http://joelgoldstick.com
>
--
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150926/44052a4e/attachment.html>
More information about the Python-list
mailing list