Closed hugo-leij closed 3 years ago
You cannot run the plugin outside the Domoticz environment. However the error line "Module Import failed: ' Name: requests'" learns me that you don't have the python3 library "requests" installed. You can check it as described in the readme
Be sure the following python3 libraries are installed: requests, pytz and tzlocal use pip3 list to verify if the libraries are installed to install the missing libraries: sudo pip3 install
Hugo, Is this topic solved now?
He @FilipDem
Sorry for my late response. I did miss a number of things. These were not (fully) installed in my Docker environment. My solution (in case more people having this issue on the docker file of linuxserver.io)
Go to the config:
cd / domoticz / config
Make a folder
mkdir custom-cont-init.d
Make a file
vim add_libraries
Content of the file
#! / bin / bash
echo "**** installing requests ****"
pip3 install requests
echo "**** installing pytz ****"
pip3 install pytz
echo "**** installing tzlocal ****"
pip3 install tzlocal
Restart Docker
Hey,
I'm running Domicz 2020.2 via Docker. I installed the plugin but I get the following error:
If i run the plugin.py i get the following error:
Does anyone have an idea how I can fix that?