u9n / dlms-cosem

A Python library for DLMS/COSEM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dlms_cosem.client import not working

scratch opened this issue · comments

(base) anon$:~/anaconda3/lib/python3.10/site-packages/dlms_cosem$ python
Python 3.10.9 (main, Mar 1 2023, 18:23:06) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from dlms_cosem import cosem, enumerations, utils, security
from dlms_cosem.client import DlmsClient
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'dlms_cosem.client'

Should be:
from dlms_cosem.clients.dlms_client import DlmsClient

test installing prerelease.

pip install dlms-cosem --pre