Skip to content

Install error Windows 7 32bit #5

@robertlagrant

Description

@robertlagrant

Pip works in general, but this doesn't seem to work:

(venv) C:\rob\djangotest>pip install git+https://github.com/nwcell/psycopg2-windows.git@win32-py34#egg=psycopg2
Downloading/unpacking psycopg2 from git+https://github.com/nwcell/psycopg2-windows.git@win32-py34
Cleaning up...
Exception:
Traceback (most recent call last):
File "C:\rob\Python34\lib\shutil.py", line 370, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\Users\rgrant\AppData\Local\Temp\pip_build_RGRANT\psycopg2.git\objects\pack\pack-6d3b0935968841c7fd3ba9ffabefdf24b0836531.idx'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\rob\Python34\lib\site-packages\pip\basecommand.py", line 122, in main

status = self.run(options, args)

File "C:\rob\Python34\lib\site-packages\pip\commands\install.py", line 278, in
run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundl
e=self.bundle)
File "C:\rob\Python34\lib\site-packages\pip\req.py", line 1197, in prepare_fil
es
do_download,
File "C:\rob\Python34\lib\site-packages\pip\req.py", line 1360, in unpack_url
unpack_vcs_link(link, loc, only_download)
File "C:\rob\Python34\lib\site-packages\pip\download.py", line 344, in unpack_
vcs_link
vcs_backend.unpack(location)
File "C:\rob\Python34\lib\site-packages\pip\vcs__init__.py", line 239, in unp
ack
rmtree(location)
File "C:\rob\Python34\lib\site-packages\pip\util.py", line 43, in rmtree
onerror=rmtree_errorhandler)
File "C:\rob\Python34\lib\shutil.py", line 477, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\rob\Python34\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\rob\Python34\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\rob\Python34\lib\shutil.py", line 367, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\rob\Python34\lib\shutil.py", line 372, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\rob\Python34\lib\site-packages\pip\util.py", line 53, in rmtree_error
handler
(exctype is PermissionError and value.args[3] == 5) #python3.3
IndexError: tuple index out of range

Storing debug log for failure in C:\Users\rgrant\pip\pip.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions