When I import the package "refinitiv-data", I get the following error message:
import refinitiv.data as rd
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\__init__.py", line 35, in <module>
from . import delivery, session, content, errors, eikon, usage_collection, discovery
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\discovery\__init__.py", line 17, in <module>
from ._search_templates import templates as search_templates
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\discovery\_search_templates\__init__.py", line 8, in <module>
from refinitiv.data.discovery._search_templates.manage import SearchTemplates
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\discovery\_search_templates\manage.py", line 125, in <module>
class SearchTemplates(UserNamespace):
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\discovery\_search_templates\manage.py", line 139, in SearchTemplates
RICCategory = RICCategoryTemplate()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\discovery\_search_templates\embedded.py", line 18, in __init__
super().__init__(
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\discovery\_search_templates\base.py", line 211, in __init__
if template.placeholders():
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\refinitiv\data\_tools\templates.py", line 63, in placeholders
return self.get_vars_from_node(self._parsed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ninno\AppData\Roaming\Python\Python311\site-packages\jinja2\nodes.py", line 245, in __hash__
return hash(tuple(self.iter_fields()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'list'