equinor / segyio

Fast Python library for SEGY files.
Other
469 stars 213 forks source link

error: subprocess-exited-with-error #561

Open Abdullyllah opened 8 months ago

Abdullyllah commented 8 months ago

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [72 lines of output] C:\Users\vizdom\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. LINK : fatal error LNK1181: cannot open input file 'segyio.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\link.exe' failed with exit code 1181 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for segyio Running setup.py clean for segyio Failed to build segyio ERROR: Could not build wheels for segyio, which is required to install pyproject.toml-based projects PS D:\30th October 2023 Backup>

ajaust commented 7 months ago

It seems that you are using Python 3.12. I do not have a windows machine ready for testing, but we have just created a new release adds support for Python 3.12. You could try if pip install segyio works for you now.