davidb24v / meross-powermon

Simple command line interface for local operation of Meross energy monitoring plugs
14 stars 5 forks source link

Init Problem - missing module? #1

Open batoub opened 5 years ago

batoub commented 5 years ago

Hi,

I have a strange problem with your program (missing module?) :

Traceback (most recent call last): File "meross", line 12, in import meross_powermon.command_line as command_line File "/home/bastien/Meross/meross_powermon/command_line.py", line 10, in from meross_powermon import (config, delete, init, monitor, setup) File "/home/bastien/Meross/meross_powermon/config.py", line 9, in from meross_powermon.modified_device import Mss310 File "/home/bastien/Meross/meross_powermon/modified_device.py", line 15, in from meross_iot.supported_devices.power_plugs import (Device, ClientStatus) ModuleNotFoundError: No module named 'meross_iot.supported_devices'

Is there any solution? Best Regards, Bastien

harphere commented 4 years ago

@batoub,did you ever solve that error?

EDIT: Found the fix through another forum: run pip3 install meross_iot==0.1.4.3 after running setup.py

kusannaghi commented 3 years ago

when i execute setup.py i have the next error:

root@rpi3-20210209:/home/pi/meross_powermon# python3 ./setup.py Traceback (most recent call last): File "./setup.py", line 11, in from meross_powermon import (iwlist, config) ModuleNotFoundError: No module named 'meross_powermon'

And don't work. Anybody know what happen ??