Error when connecting to Eikon via Python

Hi,

I am using Python to connect to Eikon using my windows 11 PC.

When I tried to run the following code:

import eikon
eikon.set_app_key('app_key')

The terminal returned with the following errors:

2024-09-11 14:26:31,219 P[8112] [MainThread 3920] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2024-09-11 14:26:31,219 P[8112] [MainThread 3920] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2024-09-11 14:26:31,220 P[8112] [MainThread 3920] Port number was not identified, cannot send any request

Can anyone help?

Thanks!

Answers

  • The error went away after I restarted the terminal. Thank you everyone who looked at this!