File "F:\odoo15\venv\lib\site-packages\babel\localedata.py", line 17, in
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (C:\Users\Shahriar Amin\AppData\Local\Programs\Python\Python310\lib\collections\__init__.py)
To pytanie dostało ostrzeżenie
it help python3 -m pip install babel==2.9.1 , thanks
Odoo python requirement use babel=2.6.0 and this library uses MutableMapping from collections.abc module in python which already deprecated in 3.8.
Babel library already changed it in V2.9.1 and using ABCs from collections instead of collections.abc is deprecated
You can try to uninstall babel=2.6.0 and install the latest version babel=2.9.1.
Or you can install python3.7 and it will work.
The issue has been fixed. Thanks. Can you please help with this ??
module 'collections' has no attribute 'Set'
Hi M M Shahriar Amin.
Have you solved this problem? (module 'collections' has no attribute 'Set')
Nope. I have switched to Python 3.8.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
0
mar 26
|
16 | ||
|
Timesheet App in backoffice
Rozwiązane
|
|
2
mar 26
|
2922 | |
|
|
2
paź 25
|
4879 | ||
|
|
1
wrz 25
|
4546 | ||
|
|
3
lip 25
|
5736 |