tschellenbach/Django-facebook — Issue #90: The directory is not empty
Author: margagn
Created: 2012-02-28 00:08:08+00:00
State: open

When doing pip install django-facebook, I get the following error:

Successfully installed django-facebook
Cleaning up...
Exception:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\basecommand.py", line 104, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\commands\install.py", line 265, in run
requirement_set.cleanup_files(bundle=self.bundle)
File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\req.py", line 1081, in cleanup_files
rmtree(dir)
File "C:\Python27\lib\site-packages\pip-1.1-py2.7.egg\pip\util.py", line 29, in rmtree
onerror=rmtree_errorhandler)
File "C:\Python27\lib\shutil.py", line 244, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 244, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 253, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "C:\Python27\lib\shutil.py", line 251, in rmtree
os.rmdir(path)
WindowsError: [Error 145] The directory is not empty: 'C:\\Users\\....\\build\\django-facebook\
\django_facebook'

Storing complete log in C:\Users\....\AppData\Roaming\pip\pip.log