Error when installing Odoo on Mac with Python 3.10

Viewed 48

I'm following this tutorial to install Odoo 15 in Mac with Python 3.10, but I get this error when running pip3 install -r requirements.txt:

File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '(cd  "/private/var/folders/ht/sqtnbdnx7r5562trfyn3827w0000gn/T/pip-install-qiz3m1g1/gevent_22fc5c60d97046e4bea11df299f9facf/deps/c-ares"  && if [ -r include/ares_build.h ]; then cp include/ares_build.h include/ares_build.h.orig; fi   && sh ./configure --disable-dependency-tracking -C CFLAGS="-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g"  && cp src/lib/ares_config.h include/ares_build.h "$OLDPWD"   && cat include/ares_build.h   && if [ -r include/ares_build.h.orig ]; then mv include/ares_build.h.orig include/ares_build.h; fi) > configure-output.txt' returned non-zero exit status 77.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for gevent
Failed to build gevent
ERROR: Could not build wheels for gevent, which is required to install pyproject.toml-based projects

I haven't found absolutely any document addressing the error I'm getting

1 Answers

you need to install these pyproject projects and be carefully about which python you are using '2' or '3'

pip install pyproject projects
Related