# Python-3.11.0 build fail

**URL:** https://discuss.python.org/t/python-3-11-0-build-fail/22462
**Category:** Python Help
**Tags:** build, help
**Created:** [January 5, 2023, 5:52am UTC](https://discuss.python.org/t/python-3-11-0-build-fail/22462 "2023-01-05T05:52:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zuhu2195](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/zuhu2195/32/10447_2.png) [@zuhu2195](https://discuss.python.org/u/zuhu2195)
#### Post date: [January 5, 2023, 5:52am UTC](https://discuss.python.org/t/python-3-11-0-build-fail/22462/1 "2023-01-05T05:52:20Z")

</div>

While trying to build python 3.11.0 build on my system is failing at building freeze modules, with the following lines printed,

\</\> ./Programs/\_freeze\_module importlib.\_bootstrap /home/m/python/Python-3.11.0/Lib/importlib/\_bootstrap.py Python/frozen\_modules/importlib.\_bootstrap.h  
make: execvp: ./Programs/\_freeze\_module: Invalid function argument  
Makefile:1204: recipe for target ‘Python/frozen\_modules/importlib.\_bootstrap.h’ failed  
make: \*\*\* [Python/frozen\_modules/importlib.\_bootstrap.h] Error 127\</\>

can someone please guide me on how to correct this.

---

<div class="post-metadata">

### Author: ![mattip](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/mattip/32/330_2.png) [@mattip](https://discuss.python.org/u/mattip)
#### Post date: [January 5, 2023, 6:40am UTC](https://discuss.python.org/t/python-3-11-0-build-fail/22462/2 "2023-01-05T06:40:20Z")

</div>

From the little information you provide, it seems the invocation of `execvp` is failing. You didn’t describe “my system”. What operating system/version/compiler details can you provide that might help others work out what might be going wrong?

---

<div class="post-metadata">

### Author: ![vstinner](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/vstinner/32/15130_2.png) [@vstinner](https://discuss.python.org/u/vstinner)
#### Post date: [January 5, 2023, 1:53pm UTC](https://discuss.python.org/t/python-3-11-0-build-fail/22462/3 "2023-01-05T13:53:37Z")

</div>

> [@zuhu2195](#):
>
> While trying to build python 3.11.0 build on my system

Which commands did you type? Does it work if you try again? How did you get Python source code?

---

<div class="post-metadata">

### Author: ![zuhu2195](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/zuhu2195/32/10447_2.png) [@zuhu2195](https://discuss.python.org/u/zuhu2195)
#### Post date: [January 5, 2023, 1:56pm UTC](https://discuss.python.org/t/python-3-11-0-build-fail/22462/4 "2023-01-05T13:56:27Z")

</div>

This issue has been resolved now, There was a mistake while setting system parameter which lead to this issue. Thank you for all those who replied.
