equinor / segyio

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

I need to open this issue again. Any idea how to work around this? #483

Closed TosinJayeola closed 3 years ago

TosinJayeola commented 3 years ago

Hi I'm using Python 3.7 on a windows 10 machine, segyio v. 1.9.1, and experience the exact same problem: File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\segyio\open.py", line 161, in open from . import _segyio ImportError: DLL load failed: The specified module could not be found.

Any suggestions on how I can work around this? Thanks

Originally posted by @emblixt in https://github.com/equinor/segyio/issues/435#issuecomment-673527766

jokva commented 3 years ago

Not really, as I've never really used Windows. How did you install segyio?

TosinJayeola commented 3 years ago

I used pip install.

jokva commented 3 years ago

Does the 1.9.2 and 1.9.3 builds work for you?

jokva commented 3 years ago

Try looking into the C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\segyio dir and check if there's a _segyio.dll in there