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
1 1 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apierror
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.

Upvotes
Accepted
17k 80 39 63

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 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 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 512.0 KiB each and 1.0 MiB total.

Hi @probinson,

Thanks for sharing this.

Upvotes
21.8k 58 14 21

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 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.