How to install Openpyxl with pip

Enigmatic Wang picture Enigmatic Wang · Jul 14, 2016 · Viewed 124.7k times · Source

I have windows 10 (64 bit). I want to utilize the Openpyxl package to start learning how to interact with excel and other spreadsheets.

I installed Python with "windowsx86-64web-basedinstaller" I have a 64 bit OS, was I mistaken when trying to install this version?

Python Details in Command Prompt Python Installation Options I found some pip.exes in the script folder of python

Answer

KoolAid picture KoolAid · Jul 14, 2016

You need to ensure that C:\Python35\Sripts is in your system path. Follow the top answer instructions here to do that:

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

Type pip install openpyxl in windows command prompt.