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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 2

Problem with installing/setup Eikon library for Python on Windows 7

Hi, I followed the directions on the website for installing the library thru pip. It seems to have installed successfully:


Installing collected packages: eikon
Successfully installed eikon-0.1.13

However, when I try to check the module on Python shell with an import command I get the following:

Traceback (most recent call last): File "C:\Users\semih.gumustekin\AppData\Local\Programs\Python\Python36\lib\site-packages\pandas\__init__.py", line 26, in <module> from pandas._libs import (hashtable as _hashtable, File "C:\Users\semih.gumustekin\AppData\Local\Programs\Python\Python36\lib\site-packages\pandas\_libs\__init__.py", line 4, in <module> from .tslib import iNaT, NaT, Timestamp, Timedelta, OutOfBoundsDatetime File "pandas\_libs\tslibs\conversion.pxd", line 11, in init pandas._libs.tslib File "pandas\_libs\tslibs\conversion.pyx", line 1, in init pandas._libs.tslibs.conversion ImportError: DLL load failed: The specified procedure could not be found. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import eikon as ek File "C:\Users\semih.gumustekin\AppData\Local\Programs\Python\Python36\lib\site-packages\eikon\__init__.py", line 17, in <module> from .symbology import get_symbology File "C:\Users\semih.gumustekin\AppData\Local\Programs\Python\Python36\lib\site-packages\eikon\symbology.py", line 6, in <module> import pandas as pd File "C:\Users\semih.gumustekin\AppData\Local\Programs\Python\Python36\lib\site-packages\pandas\__init__.py", line 35, in <module> "the C extensions first.".format(module)) ImportError: C extension: DLL load failed: The specified procedure could not be found. not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.

Any idea what I might have done wrong please?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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
4.6k 26 7 22

A similar problem is discussed here, I suggest installing miniconda/anaconda and installing pandas from there.

Alternatively, you might need to install and build numpy, a library that is used by pandas, manually.

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.

numpy is already installed and uptodate.. do i still need to install miniconda/anaconda?

@semih.gumustekint try reinstalling numpy and then pandas.

I tried reinstalling everything after uninstalling eikon:

pip freeze --local >pipfreeze.txt
pip install --upgrade --force-reinstall -r pipfreeze.txt

reinstalled eikon, still no luck unfortunately

I am not an admin user on the machine but ran everything thru admin cmd and also as myself with the --user option

Show more comments

if it does not help, try installing anaconda, create a virtual environment and install Eikon, take look at this for more info.

Upvotes
4.3k 2 4 5

This issue could be caused for different reasons.

A solution could be an upgrade of all eikon's dependencies with the command :

pip install eikon --upgrade

You'll see that a 0.1.14 version was published recently.

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.

did not help unfortunately

And what's the result if you install numpy (and pandas ?) before eikon ?

I get exactly the same error

Upvotes
11.5k 16 7 10

Hello @semih.gumustekin

Does the problem still occur after you use anaconda?

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 1 2

I dont have anaconda
I guess I need to chase the IT admin and have him reinstall everything from scratch
I cannot think of any other solution

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.

@semih.gumustekin

Please let us know if we have any updates on this.

Does the problem still occur after reinstalling everything from scratch?

Click below to post an Idea Post Idea