A high-level cross-platform API for terminal/console access
Peter Brittain
peter.brittain.os at gmail.com
Thu Oct 22 08:04:55 EDT 2015
On Thursday, October 22, 2015 at 12:25:09 PM UTC+1, Gisle Vanem wrote:
> I tried installing your package with "pip.exe -v install asciimatics".
> Some problem with pypiwin32 it seems:
>
> Installing collected packages: pypiwin32, future, Pillow, pyfiglet, asciimatics
>
> Cleaning up...
> Exception:
> Traceback (most recent call last):
> File "g:\Programfiler\Python27\lib\site-packages\pip-6.0.6-py2.7.egg\pip\basecommand.py", line 232, in main
> status = self.run(options, args)
> File "g:\Programfiler\Python27\lib\site-packages\pip-6.0.6-py2.7.egg\pip\commands\install.py", line 347, in run
> root=options.root_path,
> File "g:\Programfiler\Python27\lib\site-packages\pip-6.0.6-py2.7.egg\pip\req\req_set.py", line 549, in install
> **kwargs
> File "g:\Programfiler\Python27\lib\site-packages\pip-6.0.6-py2.7.egg\pip\req\req_install.py", line 751, in install
> self.move_wheel_files(self.source_dir, root=root)
> File "g:\Programfiler\Python27\lib\site-packages\pip-6.0.6-py2.7.egg\pip\req\req_install.py", line 960, in move_wheel_files
> isolated=self.isolated,
> File "g:\Programfiler\Python27\lib\site-packages\pip-6.0.6-py2.7.egg\pip\wheel.py", line 234, in move_wheel_files
> clobber(source, lib_dir, True)
> File "g:\Programfiler\Python27\lib\site-packages\pip-6.0.6-py2.7.egg\pip\wheel.py", line 212, in clobber
> shutil.copyfile(srcfile, destfile)
> File "g:\Programfiler\Python27\lib\shutil.py", line 83, in copyfile
> with open(dst, 'wb') as fdst:
> IOError: [Errno 13] Permission denied: 'g:\\Programfiler\\Python27\\Lib\\site-packages\\win32\\win32api.pyd'
>
> -----
>
> BTW, this is on Python 2.7.9 on Win-XP SP3.
>
> --gv
That's a new one on me. The pypiwin32 package has installed fine for me on Python 3 in Windows 7, 8 and 10. Sadly I don't have ready access to an XP machine, so can't easily try a repro myself... Does the file already exist, or are you lacking permissions to update the folder?
More information about the Python-list
mailing list