Skip to content Skip to sidebar Skip to footer

Attribute Error: 'workbook' Object Has No Attribute 'active'

I am new to both python programming and the raspberry pi environment and I need to do some project with it. As I was trying to run the sample code for the openpyxl library I found

Solution 1:

Check the version of the package you're running as it states that active is a property in the latest version of the documentation.

To discover your current version:

import openpyxl
print(openpyxl.__version__)

You should be able to upgrade your openpyxl version with pip install openpyxl --upgrade to get the latest version.

Post a Comment for "Attribute Error: 'workbook' Object Has No Attribute 'active'"