Closed ronetix closed 1 year ago
Hi,
On Ubuntu 22.04 (Python 3.10) I'm trying to install and run modpoll. The installation works, but the command doesn't start:
ilko@msibox:~/work/modpoll$ pip install modpoll Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: modpoll in /usr/local/lib/python3.10/dist-packages (0.6.1) Requirement already satisfied: requests<3.0.0,>=2.28.1 in /home/ilko/.local/lib/python3.10/site-packages (from modpoll) (2.31.0) Requirement already satisfied: prettytable<4.0.0,>=3.6.0 in /home/ilko/.local/lib/python3.10/site-packages (from modpoll) (3.9.0) Requirement already satisfied: paho-mqtt<2.0.0,>=1.6.1 in /home/ilko/.local/lib/python3.10/site-packages (from modpoll) (1.6.1) Requirement already satisfied: pymodbus<4.0.0,>=3.5.2 in /home/ilko/.local/lib/python3.10/site-packages (from modpoll) (3.5.2) Requirement already satisfied: wcwidth in /usr/lib/python3/dist-packages (from prettytable<4.0.0,>=3.6.0->modpoll) (0.2.5) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.28.1->modpoll) (2020.6.20) Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.28.1->modpoll) (3.3) Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.28.1->modpoll) (1.26.5) Requirement already satisfied: charset-normalizer<4,>=2 in /home/ilko/.local/lib/python3.10/site-packages (from requests<3.0.0,>=2.28.1->modpoll) (3.2.0) ilko@msibox:~/work/modpoll$ modpoll Traceback (most recent call last): File "/usr/local/bin/modpoll", line 5, in <module> from modpoll import app ImportError: cannot import name 'app' from 'modpoll' (/usr/local/lib/python3.10/dist-packages/modpoll/__init__.py)
What is wrong?
It seems caused by newly introduced changes in poetry tool, will fix it soon.
Hi,
On Ubuntu 22.04 (Python 3.10) I'm trying to install and run modpoll. The installation works, but the command doesn't start:
What is wrong?