equinor / segyio

Fast Python library for SEGY files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: subprocess-exited-with-error

Abdullyllah opened this issue · comments

× 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>

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.