Apr-09-2020, 08:53 AM
I need to use "openpyxl" module but I can't install it with "pip" (not available on the system). So far I downloaded and placed "openpyxl" in the same directory where I run my python script where I added this line:
from .openpyxl import Workbook
but when I run my python script I get error: "ValueError: Attempted relative import in non-package".
I tried different things but didn't come to a solution...any help?
from .openpyxl import Workbook
but when I run my python script I get error: "ValueError: Attempted relative import in non-package".
I tried different things but didn't come to a solution...any help?