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

Startup error #404

Open
wolfam0108 opened this issue Jan 14, 2024 · 1 comment
Open

Startup error #404

wolfam0108 opened this issue Jan 14, 2024 · 1 comment

Comments

@wolfam0108
Copy link

When running on Ubuntu 22.04 python server.py

Traceback (most recent call last): File "/root/monitorrent/server.py", line 19, in <module> from monitorrent.rest.challenge_logs import ChallengeLogs File "/root/monitorrent/monitorrent/rest/__init__.py", line 6, in <module> import falcon File "/usr/local/lib/python3.10/dist-packages/falcon/__init__.py", line 30, in <module> from falcon.api import API # NOQA File "/usr/local/lib/python3.10/dist-packages/falcon/api.py", line 21, in <module> from falcon import api_helpers as helpers, DEFAULT_MEDIA_TYPE, routing File "/usr/local/lib/python3.10/dist-packages/falcon/api_helpers.py", line 21, in <module> from falcon import util File "/usr/local/lib/python3.10/dist-packages/falcon/util/__init__.py", line 29, in <module> from falcon.util import structures File "/usr/local/lib/python3.10/dist-packages/falcon/util/structures.py", line 35, in <module> class CaseInsensitiveDict(collections.MutableMapping): # pragma: no cover AttributeError: module 'collections' has no attribute 'MutableMapping'

@LynxAS
Copy link
Contributor

LynxAS commented Jun 10, 2024

Ubuntu 22.04.4 LTS
'MutableMapping' moved to another package in Python 3.10
I faced the same problem. Solved it by installing Python 3.9 (via deadsnakes repo) and created venv for monitorrent using Python 3.9. Looks like works fine.

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