Git Product home page Git Product logo

Comments (6)

whitews avatar whitews commented on August 28, 2024 1

Great, actually that may be necessary, I have a note about upgrading pip for Mac in the FlowKit readme.

from flowutils.

whitews avatar whitews commented on August 28, 2024

Hi Alex,

I haven't tested either library on Python 3.11, as there are several dependencies for FlowKit that do not yet support 3.11. That said, FlowUtils should be easier to get up and running. From your error message:

(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Looks like you may have the x86 version of Python. Maybe brew is operating under Rosetta like in this SO post?

from flowutils.

arogozhnikov avatar arogozhnikov commented on August 28, 2024

I'm quite confident I use arm version, but here is what file says:

$ file `which python`
/Users/axelr/pll/venv311/bin/python: Mach-O 64-bit executable arm64

I've also checked gcc, it is universal, so arm version should normally be used (same for g++):

file `which gcc`   
/usr/bin/gcc: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/usr/bin/gcc (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/gcc (for architecture arm64e): Mach-O 64-bit executable arm64e

LMK if you want me to check something else. From source it looks like it should build native version

from flowutils.

whitews avatar whitews commented on August 28, 2024

Hmm, is pip caching a previous wheel version. Can you clear the pip cache or better yet try again with a fresh venv?

from flowutils.

whitews avatar whitews commented on August 28, 2024

Setting up a Python 3.11.1 environment using pyenv, I was able to get FlowUtils to install on a M1 Mac using this command:

pip install --compile flowutils

My machine is using clang as the compiler and not gcc.

Does that work for you?

from flowutils.

arogozhnikov avatar arogozhnikov commented on August 28, 2024

I've created a new env, and this time it worked.

The only thing changed: this time I updated pip before installing things, but that's unlikely the reason.

from flowutils.

Related Issues (8)

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.