equinor / segyio

Fast Python library for SEGY files.
Other
480 stars 215 forks source link

File "C:\ProgramData\Anaconda3\lib\site-packages\segyio\open.py", line 162, in open fd = _segyio.segyiofd(str(filename), mode, endians[endian]) FileNotFoundError: [Errno 2] No such file or directory #533

Open solo-coder101 opened 2 years ago

solo-coder101 commented 2 years ago

Hi,

I'm getting error "FileNotFoundError: [Errno 2] No such file or directory" when trying to open a segy shot gather file. I've tried with a few segy files in the dataset, but I keep getting the same error.

Is there anything I need to do before I use segyio to open a file?

Thanks, Solo

Asratum commented 2 years ago

This is a common python error that says that you are trying to open a file that's not there - check the path and filenames you are giving.

caiyund commented 1 year ago

hi, ImportError: cannot import name '_segyio' from 'segyio' (F:\orange_add_gempy\Orange\Lib\site-packages\segyio__init__.py) when i run "from . import _segyio" in open.py.thanks image