# Unable to install pyo

**URL:** https://discuss.python.org/t/unable-to-install-pyo/42432
**Category:** Python Help
**Created:** [January 3, 2024, 11:57pm UTC](https://discuss.python.org/t/unable-to-install-pyo/42432 "2024-01-03T23:57:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![LucienR](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LucienR](https://discuss.python.org/u/LucienR)
#### Post date: [January 3, 2024, 11:57pm UTC](https://discuss.python.org/t/unable-to-install-pyo/42432/1 "2024-01-03T23:57:18Z")

</div>

Hi everyone,  
I’m new to python and to programming in general. I’m in the process of learning python with the pyo module. I have python 3.11 on osx 12.5, and when i try to install pyo using pip, i have the following error :

```
 1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

```

note: This error originates from a subprocess, and is likely not a problem with pip.  
ERROR: Failed building wheel for pyo  
Failed to build pyo  
ERROR: Could not build wheels for pyo, which is required to install pyproject.toml-based projects

Any idea ?  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![hansgeunsmeyer](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/hansgeunsmeyer/32/15188_2.png) [@hansgeunsmeyer](https://discuss.python.org/u/hansgeunsmeyer)
#### Post date: [January 4, 2024, 1:13am UTC](https://discuss.python.org/t/unable-to-install-pyo/42432/2 "2024-01-04T01:13:11Z")

</div>

You are not giving any details about the failure, so I cannot give specific help, but I saw that other users also reported build problems on MacOS. Sometimes they report work-arounds and give hints about how to install extra dependencies, so you might find a solution by looking in the pyo bug tracker ([error installing on mac M1 system · Issue #267 · belangeo/pyo · GitHub](https://github.com/belangeo/pyo/issues/267))
