copying openpyxl\workbook\names\__init__.py -> build\lib\openpyxl\workbook\namescopying openpyxl\.constants.json -> build\lib\openpyxlcreating C:\Program Files (x86)\python27\Lib\site-packages\openpyxlerror: could not create 'C:\Program Files (x86)\python27\Lib\site-packages\openpyxl': Access is denied
# 1. Open the cmd prompt, and create a local package directory
mkdir c:\Localdata\local-packages
# 2. Install to new location
pip install --target c:\Localdata\local-packages openpyxl
#3. Add c:\Localdata\local-packages to your PYTHONPATH env
SET PYTHONPATH=%PYTHONPATH%;c:\Localdata\local-packages
Microsoft Windows [Version 6.1.7601]File "C:\Program Files (x86)\python27\lib\os.py", line 157, in makedirsmkdir(name, mode)WindowsError: [Error 5] Access is denied: 'C:\\Program Files (x86)\\python27\\Lib\\site-packages\\pip'
C:\Localdata\QPR\openpyxl-2.3.0-b2>setup.py install --install-dirusage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]or: setup.py --help [cmd1 cmd2 ...]or: setup.py --help-commandsor: setup.py cmd --helperror: option --install-dir not recognizedC:\Localdata\QPR\openpyxl-2.3.0-b2>setup.py install --target C:\Localdata\QPR\lib\openpyxlusage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]or: setup.py --help [cmd1 cmd2 ...]or: setup.py --help-commandsor: setup.py cmd --helperror: option --target not recognized
--
You received this message because you are subscribed to a topic in the Google Groups "openpyxl-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpyxl-users/zSB4vyobIIA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpyxl-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
setup.py install --prefix=C:\Localdata\QPR\lib\openpyxlset PYTHONPATH=%PYTHONPATH%;C:\Localdata\QPR\Lib\site-packages
setup.py install --prefix=C:\Localdata\QPR