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

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.

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

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