0

In a vartual env taxenv when I try to run my python program runner.py it shows the following error

enter image description here

The first line of my runner.py is

from openpyxl.reader.excel import load_workbook

what to do? How do I install openpyxl in the virtual env?

I've tried pip install openpyxl in the virtualenv

enter image description here

asked Apr 7, 2014 at 7:35

1 Answer 1

2

Install it using pip:

pip install openpyxl

Optionally specify a requirements.txt to specify the dependencies. Read more about it here.

answered Apr 7, 2014 at 7:41
Sign up to request clarification or add additional context in comments.

2 Comments

when I do pip install openpyxl it's giving another error as shown above
Maybe you need to upgrade pip or setuptools first using pip install pip setuptools --upgrade.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.