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

Error on checking port 9000 : Parent module 'requests.packages.idna' not loaded, cannot perform relative import

Question on Eikon data through Python. Eikon is running and after restarting it, it still shows these error message when setting the app id. How to fix it please? thanks

Error on checking port 9000 : Parent module 'requests.packages.idna' not loaded, cannot perform relative import

Error on checking port 9000 : Parent module 'requests.packages.idna' not loaded, cannot perform relative import

Error on checking port 36036 : Parent module 'requests.packages.idna' not loaded, cannot perform relative import

Error: no proxy address identified.

Check if Eikon Desktop or Eikon API Proxy is running

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiproxyerror-message
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 @Stefano.Queraiti,

Please advise if you had a chance to try the approach suggested by @Zhenya Kovalyov? How did it work for you?

@Stefano.Queraiti
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS

@Stefano.Queraiti

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
4.6k 26 7 22

@Stefano.Queraiti it looks like the issue is happening when the eikon package attempts to check if Eikon is listening on a port that was picked up during initialisation.

I would try and reinstall the requests package by doing

pip install --upgrade --force-reinstall requests

As well as attempt to reinstall the idna package

pip install --upgrade --force-reinstall idna
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.