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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 1 2

Hello, I am trying to install eikon using the command 'pip install eikon' in my PC but it fails. Could you please help me?

I do receive the following message error after typing 'pip install eikon' in the command line:

Collecting eikon
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x00000000056D2630>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /simple/eikon/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x00000000056D25C0>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /simple/eikon/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x00000000056D2518>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /simple/eikon/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x00000000056D2710>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /simple/eikon/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x00000000056D2208>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /simple/eikon/
Could not find a version that satisfies the requirement eikon (from versions:
)
No matching distribution found for eikon

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
39.2k 75 11 27

@Mar Gimenez
It looks like you're unable to install any packages using PIP, and it's likely because of the Internet proxy as @Zhenya Kovalyov said. Your attempt to install eikon library using downloaded Wheels package failed at installing the dependency named websocket-client from PIP. The Wheels package you downloaded contains eikon library, but not the dependencies. The dependencies that are not already installed will be installed using PIP.
You could try specifying the proxy to use explicitly rather than relying on Python requests library to pick it up from the environment. See the discussion on this thread.
Alternatively, since it appears you have conda, you can try using conda to install eikon library dependencies (start with "conda install websocket-client") before using PIP to install downloaded Wheels package for eikon library.

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
4.6k 26 7 22

You need to raise this with your local IT department, it seems like you can not use your ```pip``` behind the corporate proxy

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
4.3k 2 4 5

Hi,

It seems you 're facing to connection issue with pypi.org

Could you check if you have access to https://pypi.org/project/eikon/#files ?

Then try following command (I copied/paste link address of eikon-1.0.0.xxxxx file) :

> pip install https://files.pythonhosted.org/packages/2f/09/34d1cc350272ba8b53d708fa93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl

Otherwise, you can download this file locally then try command "pip install eikon.1.0.0.xxxx.whl" in your download directory.

... but you should have same issue with dependencies

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

Hello. I have tried the https://pypi.org/project/eikon/#files in my browser and it works, but if try the command 'pip install https://...' that you mention I do receive the error:

C:\Users\U080679>pip install https://files.pythonhosted.org/packages/2f/09/34d1
c350272ba8b53d708fa93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-an
.whl
Collecting eikon==1.0.0 from https://files.pythonhosted.org/packages/2f/09/34d1
c350272ba8b53d708fa93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-an
.whl
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x0000000005783828>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /packages/2f/09/34d1cc350272ba8b53d708f
93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x0000000005783908>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /packages/2f/09/34d1cc350272ba8b53d708f
93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x00000000057836A0>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /packages/2f/09/34d1cc350272ba8b53d708f
93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x0000000005783320>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /packages/2f/09/34d1cc350272ba8b53d708f
93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHT
PSConnection object at 0x00000000057834E0>: Failed to establish a new connectio
: [Errno 11004] getaddrinfo failed',)': /packages/2f/09/34d1cc350272ba8b53d708f
93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl
Exception:
Traceback (most recent call last):
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connection.py", lin
141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "C:\Program files\Anaconda\lib\site-packages\urllib3\util\connection.py"
line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "C:\Program files\Anaconda\lib\socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connectionpool.py",
line 601, in urlopen
chunked=chunked)
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connectionpool.py",
line 346, in _make_request
self._validate_conn(conn)
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connectionpool.py",
line 850, in _validate_conn
conn.connect()
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connection.py", lin
284, in connect
conn = self._new_conn()
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connection.py", lin
150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnect
on object at 0x0000000005783550>: Failed to establish a new connection: [Errno
1004] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program files\Anaconda\lib\site-packages\requests\adapters.py", line
440, in send
timeout=timeout
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connectionpool.py",
line 668, in urlopen
**response_kw)
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connectionpool.py",
line 668, in urlopen
**response_kw)
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connectionpool.py",
line 668, in urlopen
**response_kw)
[Previous line repeated 1 more times]
File "C:\Program files\Anaconda\lib\site-packages\urllib3\connectionpool.py",
line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "C:\Program files\Anaconda\lib\site-packages\urllib3\util\retry.py", lin
388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='files.pythonhosted.
rg', port=443): Max retries exceeded with url: /packages/2f/09/34d1cc350272ba8b
3d708fa93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl (Cause
by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0
0000000005783550>: Failed to establish a new connection: [Errno 11004] getaddri
fo failed',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program files\Anaconda\lib\site-packages\pip\basecommand.py", line 2
5, in main
status = self.run(options, args)
File "C:\Program files\Anaconda\lib\site-packages\pip\commands\install.py", l
ne 335, in run
wb.build(autobuilding=True)
File "C:\Program files\Anaconda\lib\site-packages\pip\wheel.py", line 749, in
build
self.requirement_set.prepare_files(self.finder)
File "C:\Program files\Anaconda\lib\site-packages\pip\req\req_set.py", line 3
0, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\Program files\Anaconda\lib\site-packages\pip\req\req_set.py", line 6
0, in _prepare_file
session=self.session, hashes=hashes)
File "C:\Program files\Anaconda\lib\site-packages\pip\download.py", line 821,
in unpack_url
hashes=hashes
File "C:\Program files\Anaconda\lib\site-packages\pip\download.py", line 659,
in unpack_http_url
hashes)
File "C:\Program files\Anaconda\lib\site-packages\pip\download.py", line 853,
in _download_http_url
stream=True,
File "C:\Program files\Anaconda\lib\site-packages\requests\sessions.py", line
521, in get
return self.request('GET', url, **kwargs)
File "C:\Program files\Anaconda\lib\site-packages\pip\download.py", line 386,
in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "C:\Program files\Anaconda\lib\site-packages\requests\sessions.py", line
508, in request
resp = self.send(prep, **send_kwargs)
File "C:\Program files\Anaconda\lib\site-packages\requests\sessions.py", line
618, in send
r = adapter.send(request, **kwargs)
File "C:\Program files\Anaconda\lib\site-packages\cachecontrol\adapter.py", l
ne 50, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "C:\Program files\Anaconda\lib\site-packages\requests\adapters.py", line
508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='files.pythonhost
d.org', port=443): Max retries exceeded with url: /packages/2f/09/34d1cc350272b
8b53d708fa93d0fd98b362f289c77211d81cea593a2bf6/eikon-1.0.0-py3-none-any.whl (Ca
sed by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object a
0x0000000005783550>: Failed to establish a new connection: [Errno 11004] getad
rinfo failed',))

C:\Users\U080679>

And if I try to download it and execute from the directory in which I have it using the second option, I receive the following error:

C:\Users\U080679\Downloads>pip install eikon-1.0.0-py3-none-any.whl
Processing c:\users\u080679\downloads\eikon-1.0.0-py3-none-any.whl
Collecting websocket-client (from eikon==1.0.0)
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTT
PSConnection object at 0x0000000005758278>: Failed to establish a new connection
: [Errno 11004] getaddrinfo failed',)': /simple/websocket-client/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None))
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTT
PSConnection object at 0x00000000057587B8>: Failed to establish a new connection
: [Errno 11004] getaddrinfo failed',)': /simple/websocket-client/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None))
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTT
PSConnection object at 0x0000000005758E80>: Failed to establish a new connection
: [Errno 11004] getaddrinfo failed',)': /simple/websocket-client/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None))
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTT
PSConnection object at 0x0000000005758F98>: Failed to establish a new connection
: [Errno 11004] getaddrinfo failed',)': /simple/websocket-client/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))
after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTT
PSConnection object at 0x00000000057586D8>: Failed to establish a new connection
: [Errno 11004] getaddrinfo failed',)': /simple/websocket-client/
Could not find a version that satisfies the requirement websocket-client (from
eikon==1.0.0) (from versions: )
No matching distribution found for websocket-client (from eikon==1.0.0)

C:\Users\U080679\Downloads>

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

First of all, thanks a lot to all of you. I tried the 'conda install websocket-client' but it also failed. I will try to contact my corporate IT administrator for help with the proxy issue you mentioned.

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