Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
1 0 0 0

modulenotfounderror: no module named 'refinitiv.data'; 'refinitiv' is not a package

1725437798324.png

use "pip install refinitiv-data" installed package, the py file only have 1 line "import refinitiv.data as rd" .

got folllowing error:

"ModuleNotFoundError: No module named 'refinitiv.data'; 'refinitiv' is not a package"

python#technologyerror
1725437798324.png (22.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
6.9k 21 3 6

Hi @it1,

I would advise using the LDL. You can find it on PyPI here:
https://pypi.org/project/lseg-data/

with

pip install lseg.data


Do let me know if you can pip install this one correctly. With that said, the RDL should have worked; would you mind letting me know what line you used to pip install it? We suggest:

pip install refinitiv.data


From the screenshot provided, it looks to me as though you may have installed the library in an environment or Python version other than the one in `closeprice`. Could I advise the following in your Command Prompt?



> python
> import refinitiv.data as rd


1725438980681.png


1725438980681.png (14.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.