Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jsonnet Incompatible Architecture (have 'x86_64', need 'arm64') #1098

Open
tech-cow opened this issue Jun 9, 2023 · 1 comment
Open

Jsonnet Incompatible Architecture (have 'x86_64', need 'arm64') #1098

tech-cow opened this issue Jun 9, 2023 · 1 comment

Comments

@tech-cow
Copy link

tech-cow commented Jun 9, 2023

Hello everyone,

I'm facing an issue with using the Jsonnet plugin for data parsing. I successfully installed it on my local machine without any problems. However, when my teammates download the code from our GitHub repository and try to build it, they encounter an "incompatible architecture" error.

Do you have any suggestions or insights on how to resolve this issue?

Setup.py

   ##setup.py
    install_requires=[
        "jsonnet~=0.20.0",
    ],
    extras_require={
        "dev": [
            "jsonnet",
        ]

Issue


xx.py:9: in <module>
    from utils.jsonnet_util import JsonnetParser
src/utils/jsonnet_util.py:4: in <module>
    from _jsonnet import evaluate_file
E   ImportError: dlopen(/PATH/TO/FILE/_jsonnet.cpython-39-darwin.so, 0x0002):
tried: '/PATH/TO/FILE/_jsonnet.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/PATH/TO/FILE/_jsonnet.cpython-39-darwin.so'
(no such file), '/PATH/TO/FILE/_jsonnet.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))


@sparkprime
Copy link
Member

sparkprime commented Jun 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants