I am new to the API environment, fairly novice at Python.
I am trying to install the Refinitiv-Data package and get the following error. Any assistance would be appreciated.
Collecting refinitiv-data
Using cached refinitiv_data-1.6.2-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: appdirs~=1.4.4 in c:\users\us41851\appdata\local\anaconda3\lib\site-packages (from refinitiv-data) (1.4.4)
Collecting pyee<=11.1.0,>=9.0.4 (from refinitiv-data)
Using cached pyee-11.1.0-py3-none-any.whl.metadata (2.8 kB)
Collecting httpx<0.27.0,>=0.18.0 (from refinitiv-data)
Using cached httpx-0.26.0-py3-none-any.whl.metadata (7.6 kB)
Requirement already satisfied: httpcore<1.1.0 in c:\users\us41851\appdata\local\anaconda3\lib\site-packages (from refinitiv-data) (1.0.9)
Collecting PyMySQL>=1.0.2 (from refinitiv-data)
Using cached pymysql-1.1.2-py3-none-any.whl.metadata (4.3 kB)
Collecting numpy~=1.11 (from refinitiv-data)
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\Users\us41851\AppData\Local\anaconda3\python.exe C:\Users\us41851\AppData\Local\Temp\pip-install-3gh623ch\numpy_852f829bf01c4c33aa171e95d685011f\vendored-meson\meson\meson.py setup C:\Users\us41851\AppData\Local\Temp\pip-install-3gh623ch\numpy_852f829bf01c4c33aa171e95d685011f C:\Users\us41851\AppData\Local\Temp\pip-install-3gh623ch\numpy_852f829bf01c4c33aa171e95d685011f\.mesonpy-h304kans -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\us41851\AppData\Local\Temp\pip-install-3gh623ch\numpy_852f829bf01c4c33aa171e95d685011f\.mesonpy-h304kans\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\us41851\AppData\Local\Temp\pip-install-3gh623ch\numpy_852f829bf01c4c33aa171e95d685011f
Build dir: C:\Users\us41851\AppData\Local\Temp\pip-install-3gh623ch\numpy_852f829bf01c4c33aa171e95d685011f\.mesonpy-h304kans
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] The system cannot find the file specified"
Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"
A full log can be found at C:\Users\us41851\AppData\Local\Temp\pip-install-3gh623ch\numpy_852f829bf01c4c33aa171e95d685011f\.mesonpy-h304kans\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.