modular icon indicating copy to clipboard operation
modular copied to clipboard

[BUG]: can't install mojo on mac m1 pro

Open eamag opened this issue 2 years ago • 0 comments

Bug description

Can't install,

                  memcpy (&initiate_plaintext[crypto_box_ZEROBYTES + 48 + 80],
                           ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      20 errors generated.
      ************************************************
      ************************************************
      error: command '/usr/bin/clang++' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

Probably at clang++ -std=c++11 -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/Users/...

Steps to reproduce

conda create --name pet
conda activate pet
modular install mojo

System information

- MacOS 14.3 
- modular 0.4.1 (2d8afe15)

eamag avatar Feb 02 '24 18:02 eamag