No module named openpyxl
The error message "No module named 'openpyxl'" indicates that the Python module 'openpyxl' is not installed on your system.
Openpyxl is a Python library for reading and writing Excel (xlsx/xlsm/xltx/xltm) files. In order to use it in your Python code, you need to install it first.
To install openpyxl, you can use pip, Python's package manager, by running the following command in your terminal or command prompt:
pip install openpyxl
If you are using Python 3, you might need to use pip3 instead of pip:
pip3 install openpyxl
After installing openpyxl, you should be able to import it in your Python code without any errors.
原文地址: https://www.cveoy.top/t/topic/bzYS 著作权归作者所有。请勿转载和采集!