Do you not support openpyxl 64-bit?

Asked 2 weeks ago, Updated 2 weeks ago, 1 views

openpyxl does not work on 64-bit Python.

It's the same situation even if I reinstall it, but can I use it only in 32-bit Python?

I installed it in a 32-bit environment when I first installed it, but I don't know if it's a problem or a simple compatibility problem.

openpyxl python

2022-09-20 15:14

1 Answers

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


2022-09-20 15:14

If you have any answers or tips


© 2022 pinfo. All rights reserved.