HPInc / pcoip-license-server

Tool that displays the maximum HP Anyware license concurrent usage over time
MIT License
10 stars 5 forks source link

ModuleNotFoundError: No module named 'libs.ls' #5

Open mrnickgbk opened 3 years ago

mrnickgbk commented 3 years ago

Hello,

After cloning, and then running pip to install the things in requirements.txt as per the docs I get:

~/pcoip-agent-license$ python3 pcoip-agent-ls.py Traceback (most recent call last): File "pcoip-agent-ls.py", line 14, in from libs.ls import LSClient ModuleNotFoundError: No module named 'libs.ls'

Where do I get libs.ls from? Should I be running this on the box running the license server itself? I'm running the script on Ubuntu 20.04.1

Thanks Nick

ivpetrov87 commented 2 years ago

Hey Nick,

You do not need to run this on the local license server. If you've cloned the whole repo, libs.ls is located one level up from pcoip-agent-ls.py in the directory tree. Could you try running from the parent directory

python3 ./pcoip-agent-license/pcoip-agent-ls.py

Thanks, ivan