Trouble installing lseg-data

I keep getting the following error code when trying to install lseg-data python library.
I am installing this in a python virtual environment, and I have checked that I have Cython installed.
How can I go about fixing this?
Best Answer
-
Hello @JB23
Thank you for the information. There are two issues here.
First Issue
The first one is using LSEG Data Library for Python with Python 3.13.x. I checked the library's requirement from the pyproject.toml file from PyPi repository, the library requires SciPy version less than 1.13.0. However, SciPy library supports Python 3.13.x on version 1.14.1, so the LSEG Data Library does not support Python 3.13.x yet.
If you try to install the LSEG Library with Python 3.13 without the connection issue, you will get this error:
Could you please try with lower version of Python such as 3.11.x? I and @Jirapongse have tried that version it works fine on our environment.
Second Issue
The second one is the error messages that you shared with us. The SciPy's build process (done by pip tool) requires the Cython package. The error indicates that the pip tool got connection issues (Connection Broken and Connection Timeout) when it tried to download "Cython>=0.29.35,!=3.0.3,<3.1.0" to build the SciPy library.
You may need to contact your local IT team to help you with a Python proxy connection.
I hope this information helps.
0
Answers
-
Hello @JB23,
The error message of Connection Broken and Connection Timeout, indicate that there is a networking issue. You might want to try after a while, or the corporate firewall might be blocking these connections. If there is a proxy server, you might need to specify that on the PIP command line.
0 -
Thank you for the response. I am currently using the proxy server in the PIP command line and this has allowed me to install other packages such as numpy, matplotlib, etc. Is it best just to wait and try and install lseg-data at a time when there is less traffic on the network?
0 -
Are you able to try this from a network which does not have a proxy (for e.g. home network)?
0 -
Yes I can give it a try. For reference I was able to install just the eikon package using the proxy server PIP command, but lseg-data package install still will not work.
0 -
I tested it by installing the lseg-data library on a new Python virtual environment.
I can't see the Cython package after intalling the lseg-data library.
What is the version of Python you are using? I am using Python 3.11.4.
0 -
Hi @Jirapongse and thank you for your response.
I pre-installed Cython in the environment before downloading lseg-data to see if that would help address the issue, but it did not. That is likely what is driving the differences between our installed packages.
I am currently using Python 3.13.1
0 -
Thank you!
0 -
Python does not have a uniform way to set proxy information across all the modules.
Pip was able to read/use the proxy details, but the error message stating that subprocess cannot connect was the reason I asked you to try it in a different network for e.g. at home.
You should follow Wasin's advise to downgrade the Python version and then try this from your home internet.
1
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 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
- 252 ETA
- 556 WebSocket API
- 38 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.9K Refinitiv Data Platform
- 652 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
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛