Can the eikon python api be made available to download rather than through pip install?

In order to get started with Eikon Python API, we must install the eikon python package using the following

pip install eikon

If you are behind a firewall, this can present difficulties. Can Refinitiv make the eikon python package available to download in a way that it can be installed without the python interpreter needing to download additional content.

Note I have looked at the following link, and these download files do not solve the problem, as installing them prompts the python interpreter to download other files

https://pypi.org/project/eikon/#files

Thanks in advance

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @probinson,

    Using pip will attempt to resolve all dependencies. The Eikon package has many dependencies and as you discovered will try to install them. I can't think of another way other than to download those dependencies that are failing as you did with the Eikon package and install them individually. The Eikon package doesn't include all the separate dependencies as downloadable modules.

Answers

  • Hi Nick,

    Your comments prompted me to try installing some of the dependencies first and then try pip installing eikon again, and it has worked for some reason.

    Before, I was getting ConnectionResetError(10054,'An existing connection was forcibly closed by the remote host'....) when trying to install eikon before. This would happen as it was working through the dependencies

    I just tried installing zope first (this was where it was usually failing), then installing eikon and it has worked

    Posting my experience here in case it is relevant to other users

  • There are few commands to use pip with firewall and proxies. You can specify server information on the environment variable like:

    set https_proxy=http://pServer:pPort
    set http_proxy=http://pServer:pPort
    pip install eikon

    or if proxy requires login information -


    pip --proxy "[user:passwd@]pServer:pPort" install eikon

    If your corporate firewall is also re-signing the connection, then add these options to pip command line:

    --trusted-host pypi.python.org --trusted-host pypi.org