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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
22 2 3 7

ERROR module 'eikon' has no attribute 'set_app_id'

Hello guys, i tried to use this code:

import eikon as ek ek.set_app_id('app_id')

and then y have this error.

Traceback (most recent call last): File "C:/Users/Usuario/Desktop/API_prueba.py", line 1, in <module> import eikon as ek File "C:/Users/Usuario/Desktop\eikon.py", line 3, in <module> ek.set_app_id('xxxxx') AttributeError: module 'eikon' has no attribute 'set_app_id'

SOMEONE HERE CAN I HELP ME PLEASE ?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

Have you installed the package correctly? i.e. ran

pip install eikon

After running 'import eikon as ek', run 'ek' in interactive mode. What is the output?

ready, I did that and still nothing

Upvotes
Accepted
4.6k 26 7 22

@pablo i suggest deleting eikon.py from C:/Users/Usuario/Desktop\eikon.py, so the import will pick up c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages

icon clock
10 |1500

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

Upvotes
22 2 3 7

Microsoft Windows [Versión 10.0.16299.431] (c) 2017 Microsoft Corporation. Todos los derechos reservados. C:\Users\Usuario>pip install eikon Requirement already satisfied: eikon in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (0.1.12) Requirement already satisfied: pandas>=0.17.0 in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from eikon) (0.22.0) Requirement already satisfied: websocket-client in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from eikon) (0.47.0) Requirement already satisfied: python-dateutil in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from eikon) (2.7.2) Requirement already satisfied: datetime in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from eikon) (4.2) Requirement already satisfied: requests in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from eikon) (2.18.4) Requirement already satisfied: appdirs in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from eikon) (1.4.3) Requirement already satisfied: pytz>=2011k in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from pandas>=0.17.0->eikon) (2018.4) Requirement already satisfied: numpy>=1.9.0 in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from pandas>=0.17.0->eikon) (1.14.3) Requirement already satisfied: six in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from websocket-client->eikon) (1.11.0) Requirement already satisfied: zope.interface in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from datetime->eikon) (4.5.0) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from requests->eikon) (3.0.4) Requirement already satisfied: idna<2.7,>=2.5 in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from requests->eikon) (2.6) Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from requests->eikon) (1.22) Requirement already satisfied: certifi>=2017.4.17 in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from requests->eikon) (2018.4.16) Requirement already satisfied: setuptools in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from zope.interface->datetime->eikon) (39.0.1) C:\Users\Usuario>pip list Package Version ----------------- --------- appdirs 1.4.3 bt 0.2.5 certifi 2018.4.16 chardet 3.0.4 configparser 3.5.0 cycler 0.10.0 DateTime 4.2 decorator 4.3.0 eikon 0.1.12 ffn 0.3.3 future 0.16.0 fxcmpy 1.1.16 googlefinance 0.7 idna 2.6 jason 0.1.7 kiwisolver 1.0.1 lxml 4.2.1 matplotlib 2.2.2 numpy 1.14.3 pandas 0.22.0 pandas-datareader 0.6.0 pip 10.0.1 pyparsing 2.2.0 PyPrind 2.11.2 python-dateutil 2.7.2 pytz 2018.4 requests 2.18.4 requests-file 1.4.3 requests-ftp 0.3.1 scikit-learn 0.19.1 scipy 1.1.0 setuptools 39.0.1 six 1.11.0 socketIO-client 0.7.2 tabulate 0.8.2 urllib3 1.22 websocket-client 0.47.0 wrapt 1.10.11 zope.interface 4.5.0

icon clock
10 |1500

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

Click below to post an Idea Post Idea