Whilser / Xiaomi-MiJia-Philips-LED-Lamp

Xiaomi Mijia Philips LED lamp Domoticz Plugin
GNU General Public License v3.0
3 stars 1 forks source link

Python not in >3.6 #8

Open egabo opened 4 years ago

egabo commented 4 years ago

Hi! I try to install the plugin, but I had a problem: Rasbian stretch (19.04.08) Python 3.5.3, but when I type: "pip3 install python-miio" I had that error message: " ERROR: Package 'python-miio' requires a different Python: 3.5.3 not in '>=3.6' " . Im tried to install 3.6 but after installation the error message didnt gone. I dont understand the message, see that plugin tested on python 3.5.x.

Whilser commented 4 years ago

hi, try pip3 install python-miio==0.4.6

nickolik commented 4 years ago

Hi! I did according to your recommendation - "pip3 install python-miio==0.4.6". But I still get an error:

...
 Downloading tqdm-4.43.0-py2.py3-none-any.whl (59 kB)
     |████████████████████████████████| 59 kB 480 kB/s
Collecting construct
  Using cached https://www.piwheels.org/simple/construct/construct-2.10.56-py3-none-any.whl (56 kB)
ERROR: Package 'construct' requires a different Python: 3.5.3 not in '>=3.6'
nickolik commented 4 years ago

I solved my problem. Need install correct version "construct" pip3 install construct==2.9.52