For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

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

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonerror
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
9.7k 49 38 60

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 0 2

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Hi @probinson,

Thanks for sharing this.

Upvotes
13k 32 12 18

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea