You'll find below the error message generated. It seems there is a problem with Numpy dependency. The version of Numpy is 2.1.2 .
----------------------------------------------------
PS C:\Users\VVMD250\OneDrive - LA POSTE GROUPE\PYTHON> pip install lseg-data
Requirement already satisfied: lseg-data in c:\users\vvmd250\appdata\local\programs\python\python313\lib\site-packages (2.0.0)
Collecting appdirs~=1.4.4 (from lseg-data)
Using cached appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting pyee<=11.1.0,>=9.0.4 (from lseg-data)
Using cached pyee-11.1.0-py3-none-any.whl.metadata (2.8 kB)
Collecting httpx<0.27.0,>=0.18.0 (from lseg-data)
Using cached httpx-0.26.0-py3-none-any.whl.metadata (7.6 kB)
Collecting httpcore<1.1.0 (from lseg-data)
Using cached httpcore-1.0.6-py3-none-any.whl.metadata (21 kB)
Collecting numpy~=1.11 (from lseg-data)
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\Users\VVMD250\AppData\Local\Programs\Python\Python313\python.exe C:\Users\VVMD250\AppData\Local\Temp\pip-install-lrt1g0vb\numpy_fbc4ac54da0e4ffea961a3b75906ea05\vendored-meson\meson\meson.py setup C:\Users\VVMD250\AppData\Local\Temp\pip-install-lrt1g0vb\numpy_fbc4ac54da0e4ffea961a3b75906ea05 C:\Users\VVMD250\AppData\Local\Temp\pip-install-lrt1g0vb\numpy_fbc4ac54da0e4ffea961a3b75906ea05\.mesonpy-wf4x7hyg -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\VVMD250\AppData\Local\Temp\pip-install-lrt1g0vb\numpy_fbc4ac54da0e4ffea961a3b75906ea05\.mesonpy-wf4x7hyg\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\VVMD250\AppData\Local\Temp\pip-install-lrt1g0vb\numpy_fbc4ac54da0e4ffea961a3b75906ea05
Build dir: C:\Users\VVMD250\AppData\Local\Temp\pip-install-lrt1g0vb\numpy_fbc4ac54da0e4ffea961a3b75906ea05\.mesonpy-wf4x7hyg
Build type: native build
Project name: NumPy
Project version: 1.26.4
WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
The following exception(s) were encountered:
Running `icl ""` gave "[WinError 2] Le fichier spécifié est introuvable"
Running `cl /?` gave "[WinError 2] Le fichier spécifié est introuvable"
Running `cc --version` gave "[WinError 2] Le fichier spécifié est introuvable"
Running `gcc --version` gave "[WinError 2] Le fichier spécifié est introuvable"
Running `clang --version` gave "[WinError 2] Le fichier spécifié est introuvable"
Running `clang-cl /?` gave "[WinError 2] Le fichier spécifié est introuvable"
Running `pgcc --version` gave "[WinError 2] Le fichier spécifié est introuvable"
A full log can be found at C:\Users\VVMD250\AppData\Local\Temp\pip-install-lrt1g0vb\numpy_fbc4ac54da0e4ffea961a3b75906ea05\.mesonpy-wf4x7hyg\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
PS C:\Users\VVMD250\OneDrive - LA POSTE GROUPE\PYTHON>
Best regards