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

Imp has been deprecated #35

Open
mtompkins opened this issue Jun 27, 2024 · 0 comments
Open

Imp has been deprecated #35

mtompkins opened this issue Jun 27, 2024 · 0 comments

Comments

@mtompkins
Copy link

ModuleNotFoundError: No module named 'imp'

Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]: Traceback (most recent call last):
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/bin/matrix-registration-bot", line 5, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from matrix_registration_bot.bot import run_bot
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/matrix_registration_bot/bot.py", line 2, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     import simplematrixbotlib as botlib
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/simplematrixbotlib/__init__.py", line 1, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from simplematrixbotlib.api import Api
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/simplematrixbotlib/api.py", line 3, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from nio import (AsyncClient, AsyncClientConfig)
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/nio/__init__.py", line 9, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from .client import *
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/nio/client/__init__.py", line 3, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from .base_client import Client, ClientConfig
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/nio/client/base_client.py", line 36, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from ..crypto import ENCRYPTION_ENABLED, DeviceStore, OlmDevice, OutgoingKeyRequest
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/nio/crypto/__init__.py", line 38, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from .olm_machine import Olm
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/nio/crypto/olm_machine.py", line 87, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from .sas import Sas
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/nio/crypto/sas.py", line 26, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from future.moves.itertools import zip_longest
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/future/moves/__init__.py", line 5, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     from future.standard_library import import_top_level_modules
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:   File "/opt/venv/lib/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]:     import imp
Jun 27 00:00:09 vm1 matrix-bot-matrix-registration-bot[378125]: ModuleNotFoundError: No module named 'imp'
Jun 27 00:00:10 vm1 systemd[1]: matrix-bot-matrix-registration-bot.service: Main process exited, code=exited, status=1/FAILURE
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

1 participant