Tu as quoi comme resultat quand tu tapes
Et dans les logs au demarrage de Domoticz (la version qu'il va utiliser s'affiche aussi)Python3 --V
Je viens de trouver ca2020-03-03 22:16:07.104 Status: PluginSystem: Started, Python version '3.7.3'.
Code : Tout sélectionner
(1)install python2.7 and python3.5 from DSM packages
(2)ssh login & sudo -i
(3)run python and run python3, if both work go next.
(4)run pip -V should return pip 10.0.1, it is for python2.7
(5)run pip3 -V return "command not found", ..because the path is not right.
(6)try /volume1/@appstore/py3k/usr/local/bin/pip3 -V,
if sucess. go next. now you can install module for python3,
it's different path depends on your system, command for example:
/volume1/@appstore/py3k/usr/local/bin/pip3 install numpy should be work!
(7)for convenient, shorter command is good for use,so go next step:
sudo vi .profile, (or .bashrc for specific user login)
(8)add alias at the end:
alias pip3='/volume1/@appstore/py3k/usr/local/bin/pip3'
(9)source .profile or sudo reboot
(10)test pip3 -V, should work for python3.x