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

No module named 'chip.exceptions' #1045

Open
sumitbirla opened this issue Jan 23, 2025 · 2 comments
Open

No module named 'chip.exceptions' #1045

sumitbirla opened this issue Jan 23, 2025 · 2 comments

Comments

@sumitbirla
Copy link

On a fresh install of Debian 12 (Python 3.11.2), I try to set up python-matter-server using the following command:

pip3 install --no-cache-dir python-matter-server

However, when I try to run it, it get the following error. How can this be resolved?

root@matter-server:~# python3 -m matter_server.server
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 148, in _get_module_details
  File "<frozen runpy>", line 112, in _get_module_details
  File "/usr/local/lib/python3.11/dist-packages/matter_server/server/__init__.py", line 3, in <module>
    from .server import MatterServer
  File "/usr/local/lib/python3.11/dist-packages/matter_server/server/server.py", line 32, in <module>
    from ..server.client_handler import WebsocketClientHandler
  File "/usr/local/lib/python3.11/dist-packages/matter_server/server/client_handler.py", line 13, in <module>
    from chip.exceptions import ChipStackError
ModuleNotFoundError: No module named 'chip.exceptions'
@marcelveldt
Copy link
Contributor

Are you developer or user?

@sumitbirla
Copy link
Author

User. I am trying to install python-matter-server in an LXC container to run alongside my HomeAssistant container.

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