Giter Site home page Giter Site logo

Comments (6)

tasansal avatar tasansal commented on September 26, 2024

Hi Piyush!

It sounds like a segyio issue, it is trying to build it from the source. Kinda surprised it is not getting a wheel.

What CPU architecture are you on? Maybe segyio doesn't have wheels for that.

I had a similar issue with OS X ARM64 (M1) architecture and opened this issue equinor/segyio#534

EDIT: Looking at it you are on OS X ARM64. Yes that is expected. Unfortunately won't be able to fix until the segyio team provides an OS X ARM64 build. In the meantime you can install the build dependencies for segyio manually.

Another solution is to run the x86_64 version of Python with Rosetta 2 emulator. That works fine, but it will probably run a little slower.

from mdio-python.

pikumar avatar pikumar commented on September 26, 2024

Thanks Altay. Indeed I am on an M2 Air. Hoping that segyio fixes this soon. Will keep my fingers crossed.

from mdio-python.

tasansal avatar tasansal commented on September 26, 2024

No problem, closing the issue for now since it is resolved!

Thanks @pikumar

from mdio-python.

AmirMardan avatar AmirMardan commented on September 26, 2024

I had the same problem on M1 Max and created an environment using conda and set the architecture to x86_64 using the following lines of code.

CONDA_SUBDIR=osx-64 conda create -n myenv_x86 python=3.9
conda activate myenv_x86
conda config --env --set subdir osx-64

from mdio-python.

tasansal avatar tasansal commented on September 26, 2024

@AmirMardan, thanks for the workaround. I guess that this runs the x86_64 version using Rosetta 2. While it may work, it probably won't perform as fast as the native :)

The last time I checked on my Mac, segyio was compiling on ARM64 ok; hence mdio should work ok as well. Are you seeing a similar issue with the latest segyio ?

from mdio-python.

AmirMardan avatar AmirMardan commented on September 26, 2024

Yes, I had the same problem and I had to create another environment with osx-64 to make it work.

from mdio-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.