Skip to content

Instantly share code, notes, and snippets.

@repodevs
Last active June 11, 2024 09:02
Show Gist options
  • Save repodevs/ccc6559bab33d639af77ab85daf02abb to your computer and use it in GitHub Desktop.
Save repodevs/ccc6559bab33d639af77ab85daf02abb to your computer and use it in GitHub Desktop.
Odoo 17+ Install Development for Mac M1
when erorr mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')
do
$ cd path/to/odoo
$ pip install -r requirements.txt
# uninstall packagaes that not compatile with M1
$ pip uninstall psycopg2 lxml libsass -y
# re-install using arch64
$ arch --arm64 python -m pip install psycopg2==2.9.5 lxml==4.9.2 libsass==0.20.1 --no-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment