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

MutableMapping error message #178

Open
Noexpert opened this issue Jan 10, 2024 · 10 comments
Open

MutableMapping error message #178

Noexpert opened this issue Jan 10, 2024 · 10 comments

Comments

@Noexpert
Copy link

Noexpert commented Jan 10, 2024

excalibur initdb
Traceback (most recent call last):
  File "/home/boss/.local/bin/excalibur", line 5, in <module>
    from excalibur.cli import cli
  File "/home/boss/.local/lib/python3.11/site-packages/excalibur/cli.py", line 7, in <module>
    from . import __version__, settings
  File "/home/boss/.local/lib/python3.11/site-packages/excalibur/settings.py", line 10, in <module>
    from . import configuration as conf
  File "/home/boss/.local/lib/python3.11/site-packages/excalibur/configuration.py", line 7, in <module>
    from backports.configparser import ConfigParser
  File "/home/boss/.local/lib/python3.11/site-packages/backports/configparser/__init__.py", line 130, in <module>
    from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.11/collections/__init__.py)
@mgw2013
Copy link

mgw2013 commented Jan 14, 2024

Plus 1 - setup breaks with excalibur initdb issued.

@xordiet
Copy link

xordiet commented Jan 31, 2024

Same error when I try to initialize the metadata database

@qmohitsingh
Copy link

any update on this issue?

@Falven
Copy link

Falven commented Feb 5, 2024

May be related?

@devansvd
Copy link

Can confirm Same issue

@randbytes
Copy link

randbytes commented Feb 24, 2024

same issue. tried install excalibur globally and with venv. Python 3.11.4

@luketpeterson
Copy link

This fixed it for me, Python 3.11.7 #178 (comment)

@Manju-bpura
Copy link

Issue still persists

Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\user\anaconda3\Scripts\excalibur.exe_main
.py", line 4, in
File "C:\Users\user\anaconda3\Lib\site-packages\excalibur\cli.py", line 7, in
from . import version, settings
File "C:\Users\user\anaconda3\Lib\site-packages\excalibur\settings.py", line 10, in
from . import configuration as conf
File "C:\Users\user\anaconda3\Lib\site-packages\excalibur\configuration.py", line 7, in
from backports.configparser import ConfigParser
File "C:\Users\user\anaconda3\Lib\site-packages\backports\configparser_init
.py", line 130, in
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (C:\Users\user\anaconda3\Lib\collections_init_.py)

@pri1712
Copy link

pri1712 commented Jul 6, 2024

I am running into the same issue

@tinkerer-tools
Copy link

After Python +3.10, the import should be:

from collections.abc import MutableMapping

I modified manually the files that were throwing errors and the process continued.

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