Hi all,
I have an issue when I try to install Obspy using the line command: “pip install obspy” in vs code
the error message is:
…
copying obspy\taup\tests\data\TauP_test_data\taup_path_-o_stdout_-h_10_-ph_P_-deg_35 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_path_-o_stdout_-h_10_-ph_P_-deg_35_-mod_ak135 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_pierce_-h_10_-ph_P_-deg_35 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_pierce_-mod_isp91_ph_P_-h_10_-evt_-45_-50_-sta_-80_-50 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_time_-h_10_-ph_P_-deg_35 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_time_-h_10_-ph_P_-deg_35_-mod_ak135 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_time_-h_10_-ph_P_-deg_35_-mod_ak135f_no_mud → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_time_-h_10_-ph_P_-deg_35_-mod_jb → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_time_-h_10_-ph_P_-deg_35_-mod_pwdk → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_time_-h_10_-ph_ttall_-deg_35 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\taup_time_-h_10_-ph_ttall_-deg_35_-mod_ak135 → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
copying obspy\taup\tests\data\TauP_test_data\underside_reflections.txt → build\lib.win-amd64-cpython-311\obspy\taup\tests\data\TauP_test_data
running build_ext
building ‘gcf’ extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: Microsoft C++ Build Tools - Visual Studio
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for obspy
Failed to build obspy
ERROR: Could not build wheels for obspy, which is required to install pyproject.toml-based projects
I’m running on the latest version of “Python 3.11.3” “numpy==1.24.3”
Can anyone help me with this issue?
Thank you.