First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Check if errors were printed during installation. Check list of modules installed in CMD window with "pip list"
Test import command in python, in CMD window:
c:\..>python
>>import xlsxwriter
No error messages if able to import.
Test a simple code (works in python 3.9):
import xlsxwriter
workbook = xlsxwriter.Workbook('arrays.xlsx')
worksheet = workbook.add_worksheet('test')
array = [['a1', 'a2', 'a3'],
['a4', 'a5', 'a6'],
['a7', 'a8', 'a9'],
['a10', 'a11', 'a12', 'a13', 'a14']]
row = 0
for col, data in enumerate(array):
worksheet.write_column(row, col, data)
workbook.close()