cant install Eikon Package
Hi, I have trouble installing eikon package in python. I have tried several methods, and it fails each time. It requires me to have some old package version, of "H2" package and "chardet" package which makes no sense, as they are from 2017. Also they do not exist anymore. My python version is 3.9.7. So it's up to date. So my question is why do i get these errors?
Best Answer
-
From the log file, you are using https://pypi.python.org/pypi as an index URL.
I got the same error when using this index URL.
pip install --no-cache-dir --verbose --log pip.log --index-url https://pypi.python.org/pypi "pyee<=9.0.4"
Using pip 23.1.2 from C:\Users\U8009686\source\repos\PythonApplication1\PythonApplication1\env\lib\site-packages\pip (
python 3.10)
Looking in indexes: https://pypi.python.org/pypi
ERROR: Could not find a version that satisfies the requirement pyee<=9.0.4 (from versions: 11.0.0)
ERROR: No matching distribution found for pyee<=9.0.4I am using https://pypi.org/simple as an index URL.
2023-07-13T16:19:31,300 Found index url https://pypi.org/simple/
0
Answers
-
Hi @alevas ,
Could you please let me know which command did you use to install the Eikon package for further investigation?
0 -
Thank you for reaching out to us.
The followings are the dependencies of eikon 1.1.16.
install_requires=[
"httpx>=0.18.0",
"nest_asyncio>=1.5.1",
"datetime",
"pandas>=1.0.0",
"numpy>=1.11.0",
"appdirs>=1.4.3",
"python-dateutil",
"websocket-client>=0.54.0,!=1.0.0",
"deprecation",
# requests-async requirements
"certifi",
"chardet==3.*",
"h2==3.*",
"idna==2.*",
"rfc3986==1.*",
"requests==2.*",
],h2==3.* is available on Pypi (https://pypi.org/project/h2/3.2.0/).
According to the error, you are using h2==4.1.0 and it is unable to find the version of Eikon Data API that supports h2==4.1.0.
You may consider using the Refinitiv Data Library for Python (https://pypi.org/project/refinitiv-data/) with the Desktop session instead.
The dependency libraries of the Refintiv Data Library are:
appdirs<=1.4.4,>=1.4.3
pyee<=9.0.4
httpx<=0.23.0,>=0.18
httpcore<=0.15.0
PyMySQL>=1.0.2
numpy<=1.23.4,>=1.11.0
pandas<1.6.0,>=1.3.5
python-dateutil<=2.8.2
requests<=2.28.1
scipy<=1.9.3
six<=1.16.0
tenacity<8.1.0,>=8.0
watchdog<=2.1.9,>=0.10.2
websocket-client!=1.2.2,<=1.5.1,>=0.58.0
pyhumps<=3.8.0,~=3.0.2
jinja2<4.0.0,>=3.0.3
simplejson~=3.15The Refinitiv Data Library examples are on GitHub.
0 -
@Jirapongse when using the pip install h2==3.2.0 command i get:
ERROR: Could not find a version that satisfies the requirement pyee<=9.0.4 (from refinitiv-data) (from versions: 11.0.0)ERROR: No matching distribution found for pyee<=9.0.4
When i install refinitiv data library for python i get a new error:ERROR: Could not find a version that satisfies the requirement pyee<=9.0.4 (from refinitiv-data) (from versions: 11.0.0)ERROR: No matching distribution found for pyee<=9.0.4
Again, i can only install the newer versions of this packages. It wont let me install older versions of them.0 -
pip install eikon0
-
You may connect to the repository that doesn't maintain the older versions.
You can run the pip command with the --verbose and --log options.
pip install --no-cache-dir --verbose --log pip.log "pyee<=9.0.4"
Then, check the log file (pip.log).
2023-07-13T15:07:15,603 1 location(s) to search for versions of pyee:
2023-07-13T15:07:15,603 * https://pypi.org/simple/pyee/
2023-07-13T15:07:15,607 Fetching project page and analyzing links: https://pypi.org/simple/pyee/
2023-07-13T15:07:15,610 Getting page https://pypi.org/simple/pyee/
2023-07-13T15:07:15,613 Found index url https://pypi.org/simple
2023-07-13T15:07:15,623 Starting new HTTPS connection (1): pypi.org:443
2023-07-13T15:07:16,209 https://pypi.org:443 "GET /simple/pyee/ HTTP/1.1" 200 84840 -
pip_log_pdf.pdf
Can you see something that isnt correct?
@Jirapongse0 -
how do i change to look upon the index url? when installing the package?
0 -
You can use the --index-url option or verify the pip configuration file.0
-
Thank you very much @Jirapongse it worked flawlessly!
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛