#24077: Error installing Django 1.7.2
-------------------------------+--------------------------------------
Reporter: duytrung | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by duytrung):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> I encounter this error while upgrade Django from 1.7.1 to 1.7.2
> C:\Anaconda3\Scripts>pip install django -U
> Collecting django from
> https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.2-py2.py3-none-a
> ny.whl#md5=b57f9a2dec214b60e338aa80fb902936
> Downloading Django-1.7.2-py2.py3-none-any.whl (7.4MB)
> 100% |################################| 7.4MB 352kB/s ta 0:00:01
> Installing collected packages: django
> Found existing installation: django 1.7.1
> Uninstalling django-1.7.1:
> Successfully uninstalled django-1.7.1
>
> Exception:
> Traceback (most recent call last):
> File "C:\Anaconda3\lib\shutil.py", line 374, in _rmtree_unsafe
> os.rmdir(path)
> OSError: [WinError 145] The directory is not empty:
> 'C:\\Users\\MYEXPE~1\\AppData\\Local\\Temp\\pi
> p-9ejrkiof-uninstall\\anaconda3\\lib\\site-
> packages\\django-1.7.1-py3.4.egg\\django\\conf\\locale\\h
> u'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "C:\Anaconda3\lib\site-packages\pip\basecommand.py", line 232,
> in main
> status = self.run(options, args)
> File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line
> 347, in run
> root=options.root_path,
> File "C:\Anaconda3\lib\site-packages\pip\req\req_set.py", line 560,
> in install
> requirement.commit_uninstall()
> File "C:\Anaconda3\lib\site-packages\pip\req\req_install.py", line
> 677, in commit_uninstall
> self.uninstalled.commit()
> File "C:\Anaconda3\lib\site-packages\pip\req\req_uninstall.py", line
> 153, in commit
> rmtree(self.save_dir)
> File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 58,
> in rmtree
> onerror=rmtree_errorhandler)
> File "C:\Anaconda3\lib\shutil.py", line 477, in rmtree
> return _rmtree_unsafe(path, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
> _rmtree_unsafe(fullname, onerror)
> File "C:\Anaconda3\lib\shutil.py", line 376, in _rmtree_unsafe
> onerror(os.rmdir, path, sys.exc_info())
> File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 70,
> in rmtree_errorhandler
> func(path)
> OSError: [WinError 145] The directory is not empty:
> 'C:\\Users\\MYEXPE~1\\AppData\\Local\\Temp\\pi
> p-9ejrkiof-uninstall\\anaconda3\\lib\\site-
> packages\\django-1.7.1-py3.4.egg\\django\\conf\\locale\\h
> u'
New description:
I encounter this error while upgrade Django from 1.7.1 to 1.7.2
{{{
C:\Anaconda3\Scripts>pip install django -U
Collecting django from
https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.2-py2.py3-none-a
ny.whl#md5=b57f9a2dec214b60e338aa80fb902936
Downloading Django-1.7.2-py2.py3-none-any.whl (7.4MB)
100% |################################| 7.4MB 352kB/s ta 0:00:01
Installing collected packages: django
Found existing installation: django 1.7.1
Uninstalling django-1.7.1:
Successfully uninstalled django-1.7.1
Exception:
Traceback (most recent call last):
File "C:\Anaconda3\lib\shutil.py", line 374, in _rmtree_unsafe
os.rmdir(path)
OSError: [WinError 145] The directory is not empty:
'C:\\Users\\MYEXPE~1\\AppData\\Local\\Temp\\pi
p-9ejrkiof-uninstall\\anaconda3\\lib\\site-
packages\\django-1.7.1-py3.4.egg\\django\\conf\\locale\\h
u'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda3\lib\site-packages\pip\basecommand.py", line 232, in
main
status = self.run(options, args)
File "C:\Anaconda3\lib\site-packages\pip\commands\install.py", line
347, in run
root=options.root_path,
File "C:\Anaconda3\lib\site-packages\pip\req\req_set.py", line 560, in
install
requirement.commit_uninstall()
File "C:\Anaconda3\lib\site-packages\pip\req\req_install.py", line
677, in commit_uninstall
self.uninstalled.commit()
File "C:\Anaconda3\lib\site-packages\pip\req\req_uninstall.py", line
153, in commit
rmtree(self.save_dir)
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 58,
in rmtree
onerror=rmtree_errorhandler)
File "C:\Anaconda3\lib\shutil.py", line 477, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Anaconda3\lib\shutil.py", line 376, in _rmtree_unsafe
onerror(os.rmdir, path, sys.exc_info())
File "C:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 70,
in rmtree_errorhandler
func(path)
OSError: [WinError 145] The directory is not empty:
'C:\\Users\\MYEXPE~1\\AppData\\Local\\Temp\\pi
p-9ejrkiof-uninstall\\anaconda3\\lib\\site-
packages\\django-1.7.1-py3.4.egg\\django\\conf\\locale\\h
u'
}}}
--
--
Ticket URL: <https://code.djangoproject.com/ticket/24077#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.c8c483004a98de328e330d25720df043%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.