Skip to content

Intel Macos pip package problem #34

Description

@pompushko

Hello

I have this problem:

Traceback (most recent call last):
  File "/Users/me/Work/Code/play/slow_search.py", line 321, in <module>
    main()
  File "/Users/me/Work/Code/play/slow_search.py", line 246, in main
    variables = parse_a2l_variables(sys.argv[3])
  File "/Users/me/Work/Code/play/slow_search.py", line 212, in parse_a2l_variables
    parser = Parser()
  File "/Users/me/Library/Python/3.9/lib/python/site-packages/pya2l/parser.py", line 64, in __init__
    self._dll = ctypes.cdll.LoadLibrary(
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 444, in LoadLibrary
    return self._dlltype(name)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/me/Library/Python/3.9/lib/python/site-packages/pya2l/a2l_grpc/a2l_grpc_darwin_arm64.dylib, 0x0006): tried: '/Users/me/Library/Python/3.9/lib/python/site-packages/pya2l/a2l_grpc/a2l_grpc_darwin_arm64.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/me/Library/Python/3.9/lib/python/site-packages/pya2l/a2l_grpc/a2l_grpc_darwin_arm64.dylib' (no such file), '/Users/me/Library/Python/3.9/lib/python/site-packages/pya2l/a2l_grpc/a2l_grpc_darwin_arm64.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64'))

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions