Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mrnickgbk opened this issue Aug 27, 2021 · 1 comment
Open

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

mrnickgbk opened this issue Aug 27, 2021 · 1 comment

Comments

@mrnickgbk
Copy link

mrnickgbk commented Aug 27, 2021

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants