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

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

Best Answer

  • @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