(venv) Z:\pyworkspace\eikontest1>python -c "import httpx; print(httpx.get('http://localhost:9060/api/status'))" (venv) Z:\pyworkspace\eikontest1>set NO_PROXY=localhost:9000,localhost:9060 (venv) Z:\pyworkspace\eikontest1>python -c "import httpx; print(httpx.get('http://localhost:9060/api/status'))" ---------------------------------------------------------------- import pkg_resources installed_packages = pkg_resources.working_set installed_packages_list = sorted(["%s==%s" % (i.key, i.version) for i in installed_packages]) print(installed_packages_list) --> ['appdirs==1.4.4', 'certifi==2020.6.20', 'datetime==4.3', 'deprecation==2.1.0', 'eikon==1.1.6', 'h11==0.11.0', 'httpcore==0.12.0', 'httpx==0.16.1', 'idna==2.10', 'nest-asyncio==1.3.3', 'numpy==1.19.2', 'packaging==20.4', 'pandas==1.1.3', 'pip==20.2.3', 'pyparsing==2.4.7', 'python-dateutil==2.8.1', 'pytz==2020.1', 'rfc3986==1.4.0', 'setuptools==50.3.0', 'six==1.15.0', 'sniffio==1.2.0', 'websocket-client==0.57.0', 'zope.interface==5.1.2'] -------------------------------------------------------------- import eikon as ek import logging logging.basicConfig(filename='example.log', level=logging.DEBUG) ek.set_app_key('xxxxxx') #A valid app key is required. df,e = ek.get_data('REUTERS','TR.RIC') print(df) --> log file TRACE:httpx._config:load_ssl_context verify=True cert=None trust_env=True http2=False TRACE:httpx._config:load_verify_locations cafile=Z:\pyworkspace\eikontest1\venv\lib\site-packages\certifi\cacert.pem INFO:pyeikon:Send GET request to http://localhost:9060/api/status to detect API Proxy... DEBUG:pyeikon:Error on checking port 9060 : AttributeError("'Request' object has no attribute 'prepare'") INFO:pyeikon:Warning: file .portInUse was not found. Try to fallback to default port number. INFO:pyeikon:Try defaulting to port 9000... INFO:pyeikon:Send GET request to http://localhost:9000/api/status to detect API Proxy... DEBUG:pyeikon:Error on checking port 9000 : AttributeError("'Request' object has no attribute 'prepare'") INFO:pyeikon:Try defaulting to port 36036... INFO:pyeikon:Send GET request to http://localhost:36036/api/status to detect API Proxy... DEBUG:pyeikon:Error on checking port 36036 : AttributeError("'Request' object has no attribute 'prepare'") ERROR:pyeikon:Error: no proxy address identified. Check if Eikon Desktop or Eikon API Proxy is running. ERROR:pyeikon:Port number was not identified, cannot send any request DEBUG:pyeikon:Init a Desktop session with new app_key ERROR:pyeikon:Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running. Thank you.. TEST eikon lib version : 1.1.6 nex-ayyncio : 1.3.3 IDE : Pycharm OS : winow 10 python : 3.8.6 32bit