I cannot import refinitiv-dataplatform in python. I get the following error
import refinitiv.dataplatform as rdp
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\__init__.py", line 9, in <module>
from .core import * # noqa
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\core\__init__.py", line 4, in <module>
from .session import Session # noqa
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\core\session\__init__.py", line 12, in <module>
from .session import * # noqa
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\core\session\session.py", line 12, in <module>
import httpx
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\__init__.py", line 2, in <module>
from ._api import delete, get, head, options, patch, post, put, request, stream
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\_api.py", line 4, in <module>
from ._client import Client
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\_client.py", line 30, in <module>
from ._transports.default import AsyncHTTPTransport, HTTPTransport
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\_transports\default.py", line 30, in <module>
import httpcore
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\__init__.py", line 1, in <module>
from ._api import request, stream
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\_api.py", line 5, in <module>
from ._sync.connection_pool import ConnectionPool
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\_sync\__init__.py", line 8, in <module>
from .http2 import HTTP2Connection
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\_sync\http2.py", line 8, in <module>
import h2.connection
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\h2\connection.py", line 23, in <module>
from .events import (
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\h2\events.py", line 14, in <module>
from .settings import ChangedSetting, _setting_code_from_int
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\h2\settings.py", line 91, in <module>
class Settings(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping' import refinitiv.dataplatform as rdp
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\__init__.py", line 9, in <module>
from .core import * # noqa
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\core\__init__.py", line 4, in <module>
from .session import Session # noqa
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\core\session\__init__.py", line 12, in <module>
from .session import * # noqa
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\refinitiv\dataplatform\core\session\session.py", line 12, in <module>
import httpx
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\__init__.py", line 2, in <module>
from ._api import delete, get, head, options, patch, post, put, request, stream
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\_api.py", line 4, in <module>
from ._client import Client
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\_client.py", line 30, in <module>
from ._transports.default import AsyncHTTPTransport, HTTPTransport
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpx\_transports\default.py", line 30, in <module>
import httpcore
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\__init__.py", line 1, in <module>
from ._api import request, stream
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\_api.py", line 5, in <module>
from ._sync.connection_pool import ConnectionPool
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\_sync\__init__.py", line 8, in <module>
from .http2 import HTTP2Connection
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\httpcore\_sync\http2.py", line 8, in <module>
import h2.connection
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\h2\connection.py", line 23, in <module>
from .events import (
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\h2\events.py", line 14, in <module>
from .settings import ChangedSetting, _setting_code_from_int
File "C:\Users\ninno\AppData\Roaming\Python\Python310\site-packages\h2\settings.py", line 91, in <module>
class Settings(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'