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
3 1 3 4

Connecting to EIKON from Python in WSL (Windows subsystem linux)

Hi

I have eikon installed ok on my Windows 10 machine and can connect just fine with python scripts/jupyter etc.

I also use Windows Subsystem Linux but can not connect from python in the WSL shell (Ubuntu-20.04, version 2)

Call in python:

    ek.set_app_key('83xxxxxxxxxxxxxxx...xxxxxxxxxxxxxxxxb')

and the error thrown is:

(-1, 'Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.')

I cant find any documentation to indicate how i can tell python eikon calls where to look for eikon server.

Would be grateful if anyone can help - thanks

Windows version:

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

Hello @john.lupton

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS


1 Answer

· Write an Answer
Upvote
Accepted
10.2k 18 6 9

@john.lupton Eikon needs to be running on the same physical machine as the environment calling it. We don't have an Eikon version for linux so I don't know how it could access the proxy inside the Eikon instance. WSL is a VM so it won't work in this configuration. I hope this can help.

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.

Thanks for the reply Jason, I’m new to the product and so I’m just finding my way here and appreciate you taking the time to illuminate things.



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.