ฉันติดตั้ง openpyxl ผ่านทาง pip3 แต่เมื่อไหร่ที่ฉันพยายามต้องการนำเข้ามันมายังสคริปต์ของฉันฉันได้ข้อผิดพลาดคือ:
"python -u "/Users/hectorv/zipcodes/zips.py"
hectorv@Hectors-MacBook-Air zipcodes % python -u "/Users/hectorv/zipcodes/zips.py"
Traceback (most recent call last):
File "/Users/hectorv/zipcodes/zips.py", line 1, in <module>
import openpyxl
ImportError: No module named openpyxl"
ตอนที่ฉันพยายามที่จะติดตั้งอีกครั้งผมไปนี้:
hectorv@Hectors-MacBook-Air zipcodes % pip3 install openpyxl
Requirement already satisfied: openpyxl in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (3.0.9)
Requirement already satisfied: et-xmlfile in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from openpyxl) (1.1.0)