msoon / PyMonsoon

Monsoon Power Monitor Python Library
MIT License
55 stars 23 forks source link

Python 3.5 compatability issue. #4

Closed Mbrinker closed 7 years ago

Mbrinker commented 7 years ago

The Python API appears to be working ok under Python 2 (specifically python-2.7.12-7.fc25.x86_64, "pip install Monsoon").

However when I run it under Python 3 (specifically python3-3.5.2-4.fc25.x86_64, "pip3 install Monsoon") I get errors.

The package Monsoon.LVPM won't load because it tries to reference "Operations" instead of "Monsoon.Operations".

If I fix that, it then won't load because the there is no "pmapi" module.

Mbrinker commented 7 years ago

Fixed by e869eb01e9ce452404c1e0bdb09c915a8e32b9df