Traceback (most recent call last):
File "/usr/local/bin/matrix-commander_without_flock", line 5, in <module>
from matrix_commander import main
File "/usr/local/lib/python3.11/dist-packages/matrix_commander/__init__.py", line 1, in <module>
from .matrix_commander import main
File "/usr/local/lib/python3.11/dist-packages/matrix_commander/matrix_commander.py", line 51, in <module>
from nio import (AsyncClient, AsyncClientConfig, ContentRepositoryConfigError,
File "/usr/local/lib/python3.11/dist-packages/nio/__init__.py", line 9, in <module>
from .client import *
File "/usr/local/lib/python3.11/dist-packages/nio/client/__init__.py", line 3, in <module>
from .base_client import Client, ClientConfig
File "/usr/local/lib/python3.11/dist-packages/nio/client/base_client.py", line 36, in <module>
from ..crypto import ENCRYPTION_ENABLED, DeviceStore, OlmDevice, OutgoingKeyRequest
File "/usr/local/lib/python3.11/dist-packages/nio/crypto/__init__.py", line 35, in <module>
from .key_request import OutgoingKeyRequest
File "/usr/local/lib/python3.11/dist-packages/nio/crypto/key_request.py", line 21, in <module>
from ..responses import RoomKeyRequestResponse
File "/usr/local/lib/python3.11/dist-packages/nio/responses.py", line 26, in <module>
from jsonschema.exceptions import SchemaError, ValidationError
ModuleNotFoundError: No module named 'jsonschema'
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
su -l benjamin
matrix-commander -m 'Test'
Traceback (most recent call last):
File "/usr/local/bin/matrix-commander_without_flock", line 5, in <module>
from matrix_commander import main
File "/usr/local/lib/python3.11/dist-packages/matrix_commander/__init__.py", line 1, in <module>
from .matrix_commander import main
File "/usr/local/lib/python3.11/dist-packages/matrix_commander/matrix_commander.py", line 51, in <module>
from nio import (AsyncClient, AsyncClientConfig, ContentRepositoryConfigError,
File "/usr/local/lib/python3.11/dist-packages/nio/__init__.py", line 9, in <module>
from .client import *
File "/usr/local/lib/python3.11/dist-packages/nio/client/__init__.py", line 3, in <module>
from .base_client import Client, ClientConfig
File "/usr/local/lib/python3.11/dist-packages/nio/client/base_client.py", line 36, in <module>
from ..crypto import ENCRYPTION_ENABLED, DeviceStore, OlmDevice, OutgoingKeyRequest
File "/usr/local/lib/python3.11/dist-packages/nio/crypto/__init__.py", line 35, in <module>
from .key_request import OutgoingKeyRequest
File "/usr/local/lib/python3.11/dist-packages/nio/crypto/key_request.py", line 21, in <module>
from ..responses import RoomKeyRequestResponse
File "/usr/local/lib/python3.11/dist-packages/nio/responses.py", line 26, in <module>
from jsonschema.exceptions import SchemaError, ValidationError
ModuleNotFoundError: No module named 'jsonschema'
There does not seem to have been a recent update of matrix-commandeer:
Traceback (most recent call last):
File "/usr/local/bin/matrix-commander_without_flock", line 5, in <module>
from matrix_commander import main
File "/usr/local/lib/python3.11/dist-packages/matrix_commander/__init__.py", line 1, in <module>
from .matrix_commander import main
File "/usr/local/lib/python3.11/dist-packages/matrix_commander/matrix_commander.py", line 51, in <module>
from nio import (AsyncClient, AsyncClientConfig, ContentRepositoryConfigError,
File "/usr/local/lib/python3.11/dist-packages/nio/__init__.py", line 9, in <module>
from .client import *
File "/usr/local/lib/python3.11/dist-packages/nio/client/__init__.py", line 3, in <module>
from .base_client import Client, ClientConfig
File "/usr/local/lib/python3.11/dist-packages/nio/client/base_client.py", line 36, in <module>
from ..crypto import ENCRYPTION_ENABLED, DeviceStore, OlmDevice, OutgoingKeyRequest
File "/usr/local/lib/python3.11/dist-packages/nio/crypto/__init__.py", line 35, in <module>
from .key_request import OutgoingKeyRequest
File "/usr/local/lib/python3.11/dist-packages/nio/crypto/key_request.py", line 21, in <module>
from ..responses import RoomKeyRequestResponse
File "/usr/local/lib/python3.11/dist-packages/nio/responses.py", line 26, in <module>
from jsonschema.exceptions import SchemaError, ValidationError
ModuleNotFoundError: No module named 'jsonschema'
On OverClock3000:
PyPi: jsonschema
jsonschema 4.5k stars
There does not seem to have been a recent update of matrix-commandeer:
matrix-commander
PyPi: matrix-commander#history
Output:
``` Collecting jsonschema Downloading jsonschema-4.23.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: attrs>=22.2.0 in ./venv/lib/python3.11/site-packages (from jsonschema) (23.2.0) Collecting jsonschema-specifications>=2023.03.6 (from jsonschema) Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB) Collecting referencing>=0.28.4 (from jsonschema) Downloading referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB) Collecting rpds-py>=0.7.1 (from jsonschema) Downloading rpds_py-0.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB) Downloading jsonschema-4.23.0-py3-none-any.whl (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.5/88.5 kB 3.9 MB/s eta 0:00:00 Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB) Downloading referencing-0.35.1-py3-none-any.whl (26 kB) Downloading rpds_py-0.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (355 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 355.8/355.8 kB 16.0 MB/s eta 0:00:00 Installing collected packages: rpds-py, referencing, jsonschema-specifications, jsonschema Successfully installed jsonschema-4.23.0 jsonschema-specifications-2023.12.1 referencing-0.35.1 rpds-py-0.19.0 [notice] A new release of pip is available: 24.1 -> 24.1.2 [notice] To update, run: pip install --upgrade pip ```Output:
``` Requirement already satisfied: pip in ./venv/lib/python3.11/site-packages (24.1) Collecting pip Downloading pip-24.1.2-py3-none-any.whl.metadata (3.6 kB) Downloading pip-24.1.2-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 25.5 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 24.1 Uninstalling pip-24.1: Successfully uninstalled pip-24.1 Successfully installed pip-24.1.2 ```Issues mentioning
jsonschema
do not seem interesting, except 8go/matrix-commander/issues/164.Related to 8go/matrix-commander/issues/31.