How to install Openpyxl with pip
Clash Royale CLAN TAG#URR8PPP
How to install Openpyxl with pip
I have windows 10 (64 bit). I want to utilize the Openpyxl
package to start learning how to interact with excel and other spreadsheets.
Openpyxl
I installed Python with "windowsx86-64web-basedinstaller"
I have a 64 bit OS, was I mistaken when trying to install this version?
"windowsx86-64web-basedinstaller"
pip install openpyxl
5 Answers
5
You need to ensure that C:Python35Sripts
is in your system path. Follow the top answer instructions here to do that:
C:Python35Sripts
You run the command in windows command prompt, not in the python interpreter that you have open.
Press:
Win + R
Type CMD
in the run window which has opened
CMD
Type pip install openpyxl
in windows command prompt.
pip install openpyxl
I had to do: c:Usersxxxx>c:/python27/scripts/pip install openpyxl
I had to save the openpyxl files in the scripts folder.
c:Usersxxxx>c:/python27/scripts/pip install openpyxl
(optional) Install git for windows (https://git-scm.com/) to get git bash. Git bash is much more similar to Linux terminal than Windows cmd.
Install Anaconda 3
https://www.anaconda.com/download/
It should set itself into Windows PATH. Restart your PC. Then pip should work in your cmd
Then in cmd (or git bash), run command
pip install openpyxl
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Have tried
pip install openpyxl
.– shivsn
Jul 14 '16 at 6:38