Traceback (most recent call last):
File "/home/derlu/.local/bin/mendeley", line 5, in
from mendeley_cli import cmd
File "/home/derlu/.local/lib/python3.10/site-packages/mendeley_cli/init.py", line 12, in
from yandeley import Mendeley, MendeleyAuthorizationCodeAuthenticator
File "/home/derlu/.local/lib/python3.10/site-packages/yandeley/init.py", line 7, in
from yandeley.auth import MendeleyClientCredentialsAuthenticator, \
File "/home/derlu/.local/lib/python3.10/site-packages/yandeley/auth.py", line 4, in
from requests.auth import HTTPBasicAuth
File "/home/derlu/.local/lib/python3.10/site-packages/requests/init.py", line 58, in
from . import utils
File "/home/derlu/.local/lib/python3.10/site-packages/requests/utils.py", line 26, in
from .compat import parse_http_list as _parse_list_header
File "/home/derlu/.local/lib/python3.10/site-packages/requests/compat.py", line 7, in
from .packages import chardet
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/init.py", line 3, in
from . import urllib3
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/init.py", line 10, in
from .connectionpool import (
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/connectionpool.py", line 38, in
from .response import HTTPResponse
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/response.py", line 5, in
from ._collections import HTTPHeaderDict
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/_collections.py", line 1, in
from collections import Mapping, MutableMapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/init.py)
I have reproduced this problem here as well.
I found that the current mendeley_cli does not support Python 3.10.
Please use Python 3.9 instead; that is a workaround.
unfortunately i alway get the following output
Traceback (most recent call last): File "/home/derlu/.local/bin/mendeley", line 5, in
from mendeley_cli import cmd
File "/home/derlu/.local/lib/python3.10/site-packages/mendeley_cli/init.py", line 12, in
from yandeley import Mendeley, MendeleyAuthorizationCodeAuthenticator
File "/home/derlu/.local/lib/python3.10/site-packages/yandeley/init.py", line 7, in
from yandeley.auth import MendeleyClientCredentialsAuthenticator, \
File "/home/derlu/.local/lib/python3.10/site-packages/yandeley/auth.py", line 4, in
from requests.auth import HTTPBasicAuth
File "/home/derlu/.local/lib/python3.10/site-packages/requests/init.py", line 58, in
from . import utils
File "/home/derlu/.local/lib/python3.10/site-packages/requests/utils.py", line 26, in
from .compat import parse_http_list as _parse_list_header
File "/home/derlu/.local/lib/python3.10/site-packages/requests/compat.py", line 7, in
from .packages import chardet
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/init.py", line 3, in
from . import urllib3
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/init.py", line 10, in
from .connectionpool import (
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/connectionpool.py", line 38, in
from .response import HTTPResponse
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/response.py", line 5, in
from ._collections import HTTPHeaderDict
File "/home/derlu/.local/lib/python3.10/site-packages/requests/packages/urllib3/_collections.py", line 1, in
from collections import Mapping, MutableMapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/init.py)
what am i doing wrong?