Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
663 Переглядів

So I am trying to run odoo version 18 locally (just can't seem to get it right). 


I am using a mac system. I clone the 18.0 branch, create a virtual enviroment.

python3 -m venv odoo_venv

Install setuptools wheel

 pip3 install setuptools wheel

Try to install the requirements with 

 pip3 install -r requirements.txt

I end up with this error, no matter what I try.

  error: subprocess-exited-with-error

  

  × Getting requirements to build wheel did not run successfully.

  │ exit code: 1

  ╰─> [21 lines of output]

      Traceback (most recent call last):

        File "/Users/farazshah/Projects/Odoo/env18/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>

          main()

          ~~~~^^

        File "/Users/farazshah/Projects/Odoo/env18/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main

          json_out["return_val"] = hook(**hook_input["kwargs"])

                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^

        File "/Users/farazshah/Projects/Odoo/env18/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel

          return hook(config_settings)

        File "/private/var/folders/x3/mgbzf69x725bpsr07ydpsvzw0000gn/T/pip-build-env-ogtubky5/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel

          return self._get_build_requires(config_settings, requirements=[])

                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        File "/private/var/folders/x3/mgbzf69x725bpsr07ydpsvzw0000gn/T/pip-build-env-ogtubky5/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires

          self.run_setup()

          ~~~~~~~~~~~~~~^^

        File "/private/var/folders/x3/mgbzf69x725bpsr07ydpsvzw0000gn/T/pip-build-env-ogtubky5/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup

          exec(code, locals())

          ~~~~^^^^^^^^^^^^^^^^

        File "<string>", line 31, in <module>

        File "<string>", line 28, in get_version

      KeyError: '__version__'

      [end of output]

  

  note: This error originates from a subprocess, and is likely not a problem with pip.


[notice] A new release of pip is available: 25.0 -> 25.0.1

[notice] To update, run: pip install --upgrade 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.



Just to make it easier for everyone who tries to help. I have installed the following:

  • Python3 (3.13)
  • Pip3 (3.13)
  • postgres (14.17)
  • PGAdmin
  • Node


Аватар
Відмінити
Автор Найкраща відповідь

Hey Nikhil, I am using a mac so is there a brew alterative for this issue?

I understand the steps you are providing and can tweak around to run the corresponding brew commands but don't want to run sudo commands unless I'm sure it's right. I have corrupted my linux machines a few times in the past this way.


Appreciate the answer though, maybe you can help out a little more

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
січ. 25
455
1
січ. 25
588
1
квіт. 25
631
1
квіт. 25
201
2
квіт. 25
250