I am trying to install odoo15 on my Mac with M2 chip, however I keep getting errors during the installation of the requirements
Does anyone have a *working* tutorial on how to install odoo15 on Mac M2?
I have already tried these:
https://www.youtube.com/watch?v=1IR6vC2x0NI
https://www.youtube.com/watch?v=TKnkkbY9loU
https://ajscript\.com/blog/odoo\-2/how\-to\-install\-odoo\-15\-on\-macos\-1
https://www\.candidroot\.com/blog/our\-candidroot\-blog\-3/how\-to\-install\-odoo\-on\-mac\-os\-404
This\ is\ the\ problem:
\ \ Installing\ build\ dependencies\ \.\.\.\ done
\ \ Getting\ requirements\ to\ build\ wheel\ \.\.\.\ error
\ \ error:\ subprocess\-exited\-with\-error
\ \
\ \ ×\ Getting\ requirements\ to\ build\ wheel\ did\ not\ run\ successfully\.
\ \ │\ exit\ code:\ 1
\ \ ╰─>\ \[60\ lines\ of\ output\]
\ \ \ \ \ \ Compiling\ src/gevent/resolver/cares\.pyx\ because\ it\ changed\.
\ \ \ \ \ \ \[1/1\]\ Cythonizing\ src/gevent/resolver/cares\.pyx
\ \ \ \ \ \ Compiling\ src/gevent/libev/corecext\.pyx\ because\ it\ changed\.
\ \ \ \ \ \ \[1/1\]\ Cythonizing\ src/gevent/libev/corecext\.pyx
\ \ \ \ \ \ Compiling\ src/gevent/\ because\ it\ changed\.
\ \ \ \ \ \ \[1/1\]\ Cythonizing\ src/gevent/
\ \ \ \ \ \ Compiling\ src/gevent/\ because\ it\ changed\.
\ \ \ \ \ \ \[1/1\]\ Cythonizing\ src/gevent/
\ \ \ \ \ \ Compiling\ src/gevent/\ because\ it\ changed\.
\ \ \ \ \ \ \[1/1\]\ Cythonizing\ src/gevent/
\ \ \ \ \ \ Compiling\ src/gevent/\ because\ it\ changed\.
\ \ \ \ \ \ \[1/1\]\ Cythonizing\ src/gevent/
\ \ \ \ \ \ warning:\ src/gevent/resolver/cares\.pyx:38:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/resolver/cares\.pyx:40:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/resolver/cares\.pyx:41:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/libev/corecext\.pyx:325:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/libev/corecext\.pyx:783:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/libev/corecext\.pyx:785:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/libev/corecext\.pyx:787:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/libev/corecext\.pyx:791:0:\ The\ 'DEF'\ statement\ is\ deprecated\ and\ will\ be\ removed\ in\ a\ future\ Cython\ version\.\ Consider\ using\ global\ variables,\ constants,\ and\ in\-place\ literals\ instead\.\ See\
\ \ \ \ \ \ warning:\ src/gevent/_gevent_cgreenlet\.pxd:112:33:\ Declarations\ should\ not\ be\ declared\ inline\.
\ \ \ \ \ \
\ \ \ \ \ \ Error\ compiling\ Cython\ file:
\ \ \ \ \ \ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\ \ \ \ \ \ \.\.\.
\ \ \ \ \ \ cdef\ load_traceback
\ \ \ \ \ \ cdef\ Waiter
\ \ \ \ \ \ cdef\ wait
\ \ \ \ \ \ cdef\ iwait
\ \ \ \ \ \ cdef\ reraise
\ \ \ \ \ \ cpdef\ GEVENT_CONFIG
\ \ \ \ \ \ \ \ \ \ \ \ \^
\ \ \ \ \ \ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\ \ \ \ \ \
\ \ \ \ \ \ src/gevent/_gevent_cgreenlet\.pxd:181:6:\ Variables\ cannot\ be\ declared\ with\ 'cpdef'\.\ Use\ 'cdef'\ instead\.
\ \ \ \ \ \ Compiling\ src/gevent/\ because\ it\ changed\.
\ \ \ \ \ \ \[1/1\]\ Cythonizing\ src/gevent/
\ \ \ \ \ \ Traceback\ \(most\ recent\ call\ last\):
\ \ \ \ \ \ \ \ File\ "/Users/jgs/\.pyenv/versions/3\.8\.15/lib/python3\.8/site\-packages/pip/_vendor/pep517/in_process/\ line\ 363,\ in\
\ \ \ \ \ \ \ \ \ \ main\(\)
\ \ \ \ \ \ \ \ File\ "/Users/jgs/\.pyenv/versions/3\.8\.15/lib/python3\.8/site\-packages/pip/_vendor/pep517/in_process/\ line\ 345,\ in\ main
\ \ \ \ \ \ \ \ \ \ json_out\['return_val'\]\ =\ hook\(\*\*hook_input\['kwargs'\]\)
\ \ \ \ \ \ \ \ File\ "/Users/jgs/\.pyenv/versions/3\.8\.15/lib/python3\.8/site\-packages/pip/_vendor/pep517/in_process/\ line\ 130,\ in\ get_requires_for_build_wheel
\ \ \ \ \ \ \ \ \ \ return\ hook\(config_settings\)
\ \ \ \ \ \ \ \ File\ "/private/var/folders/1c/bc0jhwb946q0s37_tkd3h8n80000gn/T/pip\-build\-env\-mosxdrhk/overlay/lib/python3\.8/site\-packages/setuptools/\ line\ 338,\ in\ get_requires_for_build_wheel
\ \ \ \ \ \ \ \ \ \ return\ self\._get_build_requires\(config_settings,\ requirements=\['wheel'\]\)
\ \ \ \ \ \ \ \ File\ "/private/var/folders/1c/bc0jhwb946q0s37_tkd3h8n80000gn/T/pip\-build\-env\-mosxdrhk/overlay/lib/python3\.8/site\-packages/setuptools/\ line\ 320,\ in\ _get_build_requires
\ \ \ \ \ \ \ \ \ \ self\.run_setup\(\)
\ \ \ \ \ \ \ \ File\ "/private/var/folders/1c/bc0jhwb946q0s37_tkd3h8n80000gn/T/pip\-build\-env\-mosxdrhk/overlay/lib/python3\.8/site\-packages/setuptools/\ line\ 484,\ in\ run_setup
\ \ \ \ \ \ \ \ \ \ super\(_BuildMetaLegacyBackend,
\ \ \ \ \ \ \ \ File\ "/private/var/folders/1c/bc0jhwb946q0s37_tkd3h8n80000gn/T/pip\-build\-env\-mosxdrhk/overlay/lib/python3\.8/site\-packages/setuptools/\ line\ 335,\ in\ run_setup
\ \ \ \ \ \ \ \ \ \ exec\(code,\ locals\(\)\)
\ \ \ \ \ \ \ \ File\ "",\ line\ 287,\ in\
\ \ \ \ \ \ \ \ File\ "/private/var/folders/1c/bc0jhwb946q0s37_tkd3h8n80000gn/T/pip\-install\-3wqpt_zo/gevent_8bd56c22ddf64836871a6b21f9688186/\ line\ 236,\ in\ cythonize1
\ \ \ \ \ \ \ \ \ \ new_ext\ =\ cythonize\(
\ \ \ \ \ \ \ \ File\ "/private/var/folders/1c/bc0jhwb946q0s37_tkd3h8n80000gn/T/pip\-build\-env\-mosxdrhk/overlay/lib/python3\.8/site\-packages/Cython/Build/\ line\ 1134,\ in\ cythonize
\ \ \ \ \ \ \ \ \ \ cythonize_one\(\*args\)
\ \ \ \ \ \ \ \ File\ "/private/var/folders/1c/bc0jhwb946q0s37_tkd3h8n80000gn/T/pip\-build\-env\-mosxdrhk/overlay/lib/python3\.8/site\-packages/Cython/Build/\ line\ 1301,\ in\ cythonize_one
\ \ \ \ \ \ \ \ \ \ raise\ CompileError\(None,\ pyx_file\)
\ \ \ \ \ \ \ src/gevent/
\ \ \ \ \ \ \[end\ of\ output\]
\ \
\ \ note:\ This\ error\ originates\ from\ a\ subprocess,\ and\ is\ likely\ not\ a\ problem\ with\ pip\.
error:\ subprocess\-exited\-with\-error
×\ Getting\ requirements\ to\ build\ wheel\ did\ not\ run\ successfully\.
│\ exit\ code:\ 1
╰─>\ See\ above\ for\ output\.
note:\ This\ error\ originates\ from\ a\ subprocess,\ and\ is\ likely\ not\ a\ problem\ with\ pip\.
WARNING:\ You\ are\ using\ pip\ version\ 22\.0\.4;\ however,\ version\ 23\.0\.1\ is\ available\.
You\ should\ consider\ upgrading\ via\ the\ '/Users/jgs/\.pyenv/versions/3\.8\.15/bin/python\ \-m\ pip\ install\ \-\-upgrade\ pip'\ command\.
greenlet\.pyCython.Compiler.Errors.CompileError:Dependencies.py",Dependencies.py",_setuputils.py",build_meta.py",build_meta.py",build_meta.py",build_meta.py",_in_process.py",_in_process.py",_in_process.py",greenlet.pygreenlet.pyhttps://github.com/cython/cython/issues/4310https://github.com/cython/cython/issues/4310https://github.com/cython/cython/issues/4310https://github.com/cython/cython/issues/4310https://github.com/cython/cython/issues/4310https://github.com/cython/cython/issues/4310https://github.com/cython/cython/issues/4310https://github.com/cython/cython/issues/4310_waiter.py_waiter.py_hub_local.py_hub_local.py_hub_primitives.py_hub_primitives.py_greenlet_primitives.py_greenlet_primitives.py