The openpyxl works normally in a 64-bit environment, as shown below.
>>> import platform
>>> platform.architecture()
('64bit', 'WindowsPE')
>>> from openpyxl import Workbook
>>> fileName = 'TEST.xlsx'
>>> wb = Workbook()
>>> ws = wb.active
>>> ws['A1'] = 1
>>> wb.save(fileName)
If you are operating a 32-bit and 64-bit environment at the same time, you should do the following when you install it on 64-bit. Please check it out.
{64bit_directory}/Script/pip install openpyxl
© 2024 OneMinuteCode. All rights reserved.