Closed sheminasalam closed 2 years ago
Try to change this line to this: os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))). Alternatively if You run the script like this: python3 InverterData.py, try to run it like this: ./InverterData.py or python3 ./InverterData.py
This worked
./InverterData.py or python3 ./InverterData.py
I am getting the following error when I try to run this. Hope someone can help