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
Accepted
7 1 0 3

No module named 'refinitiv' Error

Hi,I want to automatically download a list of domestic investment trusts list everyday using task scheduler.


I downloaded Example.DataLibrary.Python zip.

https://github.com/LSEG-API-Samples/Example.DataLibrary.Python


I created App Key and set "rdp" in refinitiv-data.config.json and open QS_1.0-Sessions.ipynb.

and ran the first cell [import os os.environ["RD_LIB_CONFIG_PATH"]]


But when I ran the second cell,

[import refinitiv.data as rd]

an error has occured that

[ModuleNotFoundError:No module named 'refinitiv']


what should I do?


thank you.

#technologypython apirefinitiv-data-libraries
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
Upvote
Accepted
17.4k 82 39 63

Hi @grenpark06

It appears you have not installed the refinitiv module within your Python environment. I would suggest you review the Quick Start Guide for instructions to help get your environment up and running.

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.

thank you so much nick.zincone!

I was able to import refinitiv.data

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.