issue to use refinitiv_dataplatform with python

HI

i have some problems to use refinitiv_dataplatform with Python.
Indeed, when i try to import package i get this error
'File "C:\Program Files (x86)\Python38-32\lib\site-packages\refinitiv\dataplatform\core\envmodule.py", line 7, in
from config import config_from_dict, Configuration
ImportError: cannot import name 'config_from_dict' from 'config' (C:\Program Files (x86)\Python38-32\Lib\idlelib\config.py)'.
I get the same problem with 3.7 version.
can you help please to resolve the issue.

Regards

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    It appears that you're missing python-configuration package, which is one of the dependencies of RDP Library for Python. Try running "pip list" from Command Prompt and see if the returned list of libraries contains python-configuration. If you installed RDP Library for Python from PYPI (using "pip install refinitiv-dataplatform"), then python-configuration package should have been installed automatically.

Answers