Users should read the Eikon Data APIs (Python) environment setup guide before reading this article
For users who are on a controlled network, they may not be able to connect to the internet directly because of their company policy.
So, they will not be able to use the pip command to install Eikon Data APIs(Python).
This article provides an alternative method to install the API without an internet connection on the target machine.
Steps 1 - Get the required packages
You can perform this step on any machine with internet access.
Or you can ask your IT support to perform this step for you.
Please run this command:
pip download eikon
After the command successfully completed, you will get the following files on your current working folder
Please note that the dependencies and library version may change over time.
This picture is saved on Nov, 25th 2019.
Step 2 - Transfer all the files to the target machine
You can just copy over all the files you have downloaded in step 1 to any target machine.
Step 3 - Install the Eikon Data APIs(Python) using the downloaded files on the target machine
You can run this command to install the API without the need to connect to the internet.
pip install eikon-1.0.2-py3-none-any.whl --no-index --find-links=<path to the files>
pip install eikon-1.0.2-py3-none-any.whl --no-index --find-links=c:\temp\
Step 4 - Verify that the API is installed successfully
You can run this command to show the installed Python package on your machine without the need to connect to the internet.
pip show eikon
Now, you should be able to import and use the Eikon Data APIs(Python) in your Python code.