0

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

4
  • link found a relevant question they resolved by downgrading python version Commented Sep 10, 2022 at 4:46
  • @MuhammadYusuf I have tried it, but I get a different error in the insallation Commented Sep 10, 2022 at 14:49
  • @HuLuViCa Odoo uses deprecated collection aliases which was removed in Python 3.10 so you can't use it. Commented Sep 11, 2022 at 10:17
  • Please show the error message Commented Sep 11, 2022 at 10:17

1 Answer 1

-1

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

pip install pyproject projects
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.