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
Best Answer
-
@m_deprecated_0
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.0
Answers
-
You need to raise this with your local IT department, it seems like you can not use your ```pip``` behind the corporate proxy
0 -
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
0 -
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>0 -
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.
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 33 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.8K Refinitiv Data Platform
- 625 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛