# Installation Failed Python 3.10.4

**URL:** <https://mediasoup.discourse.group/t/installation-failed-python-3-10-4/4462>\
**Category:** Deployment & Scalability\
**Created:** [August 15, 2022, 4:15pm UTC](https://mediasoup.discourse.group/t/installation-failed-python-3-10-4/4462 "2022-08-15T16:15:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mainisameer](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/mainisameer/32/537_2.png) [@mainisameer](https://mediasoup.discourse.group/u/mainisameer)\
**Post date:** [August 15, 2022, 4:15pm UTC](https://mediasoup.discourse.group/t/installation-failed-python-3-10-4/4462/1 "2022-08-15T16:15:21Z")

</div>

I am getting the following error when installation Mediasoup. Is there an issues with Python 3.10.4 do I need to downgrade it?  
I have make installed  
crai@CRAI-Webrtc:/var/log$ make --version  
GNU Make 4.3  
Built for x86\_64-pc-linux-gnu  
Copyright (C) 1988-2020 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later [http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law.

## I have pythom3-pip installed

## crai@CRAI-Webrtc:/var/log$ pip3 --version pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10) crai@CRAI-Webrtc:/var/log$

Here is the error I am getting  
1163 verbose node v12.22.9  
1164 verbose npm v8.5.1  
1165 error code 1  
1166 error path /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup  
1167 error command failed  
1168 error command sh -c node npm-scripts.js postinstall  
1169 error npm-scripts.js [INFO] running task “postinstall”  
1169 error npm-scripts.js [INFO] executing command: node npm-scripts.js worker:build  
1169 error npm-scripts.js [INFO] running task “worker:build”  
1169 error npm-scripts.js [INFO] executing command: make -C worker  
1169 error make: Entering directory ‘/opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker’  
1169 error # Updated pip and setuptools are needed for meson  
1169 error # `--system` is not present everywhere and is only needed as workaround for  
1169 error # Debian-specific issue (copied from  
1169 error # [Without --system build fails by sac · Pull Request #33 · gluster/gstatus · GitHub](https://github.com/gluster/gstatus/pull/33)), fallback to command without  
1169 error # `--system` if the first one fails.  
1169 error /usr/bin/python3 -m pip install --system --target=/opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/pip pip setuptools ||   
1169 error /usr/bin/python3 -m pip install --target=/opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/pip pip setuptools ||   
1169 error echo “Installation failed, likely because PIP is unavailable, if you are on Debian/Ubuntu or derivative please install the python3-pip package”  
1169 error Collecting pip  
1169 error Using cached pip-22.2.2-py3-none-any.whl (2.0 MB)  
1169 error Collecting setuptools  
1169 error Using cached setuptools-65.0.0-py3-none-any.whl (1.2 MB)  
1169 error Installing collected packages: setuptools, pip  
1169 error Successfully installed pip-22.2.2 setuptools-65.0.0  
1169 error # Install `meson` and `ninja` using `pip` into custom location, so we don’t  
1169 error # depend on system-wide installation.  
1169 error /usr/bin/python3 -m pip install --upgrade --target=/opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/pip meson ninja  
1169 error Collecting meson  
1169 error Using cached meson-0.63.1-py3-none-any.whl (886 kB)  
1169 error Collecting ninja  
1169 error Using cached ninja-1.10.2.3-py2.py3-none-manylinux\_2\_5\_x86\_64.manylinux1\_x86\_64.whl (108 kB)  
1169 error Installing collected packages: ninja, meson  
1169 error Successfully installed meson-0.63.1 ninja-1.10.2.3  
1169 error /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/pip/bin/meson setup   
1169 error --buildtype release   
1169 error -Db\_ndebug=true   
1169 error -Db\_pie=true   
1169 error -Db\_staticpic=true   
1169 error --reconfigure   
1169 error “”   
1169 error /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/Release/build ||   
1169 error /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/pip/bin/meson setup   
1169 error --buildtype release   
1169 error -Db\_ndebug=true   
1169 error -Db\_pie=true   
1169 error -Db\_staticpic=true   
1169 error “”   
1169 error /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/Release/build  
1169 error The Meson build system  
1169 error Version: 0.63.1  
1169 error Source dir: /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker  
1169 error Build dir: /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/Release/build  
1169 error Build type: native build  
1169 error Project name: mediasoup-worker  
1169 error Project version: undefined  
1169 error C compiler for the host machine: cc (gcc 11.2.0 “cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0”)  
1169 error C linker for the host machine: cc ld.bfd 2.38  
1169 error C++ compiler for the host machine: c++ (gcc 11.2.0 “c++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0”)  
1169 error [377/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_getenv.c.o  
1169 error [378/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_hmac\_hm\_ameth.c.o  
1169 error [379/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_hmac\_hmac.c.o  
1169 error [380/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_idea\_i\_ecb.c.o  
1169 error [381/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_hmac\_hm\_pmeth.c.o  
1169 error [382/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_idea\_i\_cfb64.c.o  
1169 error [383/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_idea\_i\_cbc.c.o  
1169 error [384/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_evp\_pmeth\_lib.c.o  
1169 error [385/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_idea\_i\_skey.c.o  
1169 error [386/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_idea\_i\_ofb64.c.o  
1169 error [387/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_kdf\_kdf\_err.c.o  
1169 error [388/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_kdf\_hkdf.c.o  
1169 error [389/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_kdf\_scrypt.c.o  
1169 error [390/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_init.c.o  
1169 error [391/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_lhash\_lhash.c.o  
1169 error [392/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_kdf\_tls1\_prf.c.o  
1  
1169 error [529/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_siphash\_siphash\_pmeth.c.o  
1169 error [530/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_sm2\_sm2\_pmeth.c.o  
1169 error [531/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_sm2\_sm2\_sign.c.o  
1169 error [532/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_srp\_srp\_lib.c.o  
1169 error [533/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_sm4\_sm4.c.o  
1169 error [534/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_threads\_win.c.o  
1169 error [535/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_srp\_srp\_vfy.c.o  
1169 error [536/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_stack\_stack.c.o  
1169 error [537/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_store\_store\_err.c.o  
1169 error [538/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_sm3\_sm3.c.o  
1169 error [539/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_store\_store\_init.c.o  
1169 error [540/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_threads\_none.c.o  
1169 error [541/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_store\_loader\_file.c.o  
1169 error [542/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_store\_store\_strings.c.o  
1169 error [543/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_store\_store\_register.c.o  
1169 error [544/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_store\_store\_lib.c.o  
1169 error [545/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_threads\_pthread.c.o  
1169 error [546/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_err.c.o  
1169 error [547/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ui\_ui\_err.c.o  
1169 error [548/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_asn1.c.o  
1169 error [549/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_lib.c.o  
1169 error [550/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_conf.c.o  
1169 error [551/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_req\_print.c.o  
1169 error [552/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_req\_utils.c.o  
1169 error [553/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_rsp\_print.c.o  
1169 error [554/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_rsp\_utils.c.o  
1169 error [555/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_verify\_ctx.c.o  
1169 error [556/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_rsp\_verify.c.o  
1169 error [557/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ts\_ts\_rsp\_sign.c.o  
1169 error [558/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_txt\_db\_txt\_db.c.o  
1169 error [559/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ui\_ui\_null.c.o  
1169 error [560/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ui\_ui\_util.c.o  
1169 error [561/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_uid.c.o  
1169 error [562/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ui\_ui\_lib.c.o  
1169 error [563/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_ui\_ui\_openssl.c.o  
1169 error [564/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_whrlpool\_wp\_dgst.c.o  
1169 error [565/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_by\_dir.c.o  
1169 error [566/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_t\_crl.c.o  
1169 error [567/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_by\_file.c.o  
1169 error [568/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_t\_req.c.o  
1169 error [569/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_t\_x509.c.o  
1169 error [570/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_att.c.o  
1169 error [571/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_all.c.o  
1169 error [572/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_d2.c.o  
1169 error [573/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_err.c.o  
1169 error [574/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_def.c.o  
1169 error [575/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_cmp.c.o  
1169 error [576/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_ext.c.o  
1169 error [577/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_meth.c.o  
1169 error [578/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_obj.c.o  
1169 error [579/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_r2x.c.o  
1169 error [580/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_req.c.o  
1169 error [581/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_lu.c.o  
1169 error [582/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_set.c.o  
1169 error [583/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_txt.c.o  
1169 error [584/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_trs.c.o  
1169 error [585/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_v3.c.o  
1169 error [586/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509cset.c.o  
1169 error [587/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_vpm.c.o  
1169 error [588/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509rset.c.o  
1169 error [589/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509name.c.o  
1169 error [590/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509type.c.o  
1169 error [591/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509spki.c.o  
1169 error [592/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_attrib.c.o  
1169 error [593/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_crl.c.o  
1169 error [594/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_exten.c.o  
1169 error [595/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_name.c.o  
1169 error [596/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_req.c.o  
1169 error [597/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/engines\_e\_capi.c.o  
1169 error [598/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_pubkey.c.o  
1169 error [599/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_x509.c.o  
1169 error [600/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x509\_vfy.c.o  
1169 error [601/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509\_x\_x509a.c.o  
1169 error [602/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_pcy\_data.c.o  
1169 error [603/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_pcy\_cache.c.o  
1169 error [604/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_pcy\_lib.c.o  
1169 error [605/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_pcy\_map.c.o  
1169 error [606/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_pcy\_node.c.o  
1169 error [607/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_pcy\_tree.c.o  
1169 error [608/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_akey.c.o  
1169 error [609/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_admis.c.o  
1169 error [610/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_akeya.c.o  
1169 error [611/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_bcons.c.o  
1169 error [612/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_alt.c.o  
1169 error [613/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_bitst.c.o  
1169 error [614/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_addr.c.o  
1169 error [615/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_asid.c.o  
1169 error [616/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_enum.c.o  
1169 error [617/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_conf.c.o  
1169 error [618/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_cpols.c.o  
1169 error [619/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_crld.c.o  
1169 error [620/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_extku.c.o  
1169 error [621/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_genn.c.o  
1169 error [622/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_ia5.c.o  
1169 error [623/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_int.c.o  
1169 error [624/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_info.c.o  
1169 error [625/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_lib.c.o  
1169 error [626/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_pcia.c.o  
1169 error [627/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_pci.c.o  
1169 error [628/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_ncons.c.o  
1169 error [629/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_pcons.c.o  
1169 error [630/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_pku.c.o  
1169 error [631/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_pmaps.c.o  
1169 error [632/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_prn.c.o  
1169 error [633/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_skey.c.o  
1169 error [634/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_sxnet.c.o  
1169 error [635/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_tlsf.c.o  
1169 error [636/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3err.c.o  
1169 error [637/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_aes\_aesni-mb-x86\_64.s.o  
1169 error [638/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_aes\_aesni-sha1-x86\_64.s.o  
1169 error [639/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_aes\_aesni-sha256-x86\_64.s.o  
1169 error [640/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_aes\_aesni-x86\_64.s.o  
1169 error [641/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_aes\_vpaes-x86\_64.s.o  
1169 error [642/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_bn\_rsaz-avx2.s.o  
1169 error [643/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_bn\_rsaz-x86\_64.s.o  
1169 error [644/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_bn\_x86\_64-gf2m.s.o  
1169 error [645/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_bn\_x86\_64-mont.s.o  
1169 error [646/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_bn\_x86\_64-mont5.s.o  
1169 error [647/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_purp.c.o  
1169 error [648/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_camellia\_cmll-x86\_64.s.o  
1169 error [649/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_chacha\_chacha-x86\_64.s.o  
1169 error [650/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/engines\_e\_padlock.c.o  
1169 error [651/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_md5\_md5-x86\_64.s.o  
1169 error [652/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_ec\_x25519-x86\_64.s.o  
1169 error [653/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_ec\_ecp\_nistz256-x86\_64.s.o  
1169 error [654/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_modes\_aesni-gcm-x86\_64.s.o  
1169 error [655/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_poly1305\_poly1305-x86\_64.s.o  
1169 error [656/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_modes\_ghash-x86\_64.s.o  
1169 error [657/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_rc4\_rc4-md5-x86\_64.s.o  
1169 error [658/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_rc4\_rc4-x86\_64.s.o  
1169 error [659/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_sha\_keccak1600-x86\_64.s.o  
1169 error [660/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_sha\_sha1-mb-x86\_64.s.o  
1169 error [661/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_sha\_sha1-x86\_64.s.o  
1169 error [662/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_sha\_sha256-mb-x86\_64.s.o  
1169 error [663/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_whrlpool\_wp-x86\_64.s.o  
1169 error [664/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_sha\_sha512-x86\_64.s.o  
1169 error [665/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_sha\_sha256-x86\_64.s.o  
1169 error [666/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_crypto\_x86\_64cpuid.s.o  
1169 error [667/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/generated-config\_archs\_linux-x86\_64\_asm\_engines\_e\_padlock-x86\_64.s.o  
1169 error [668/992] Compiling C object subprojects/openssl-1.1.1l/libcrypto.a.p/crypto\_x509v3\_v3\_utl.c.o  
1169 error [669/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_packet.c.o  
1169 error [670/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_methods.c.o  
1169 error [671/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_d1\_srtp.c.o  
1169 error [672/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_d1\_msg.c.o  
1169 error [673/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_pqueue.c.o  
1169 error [674/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_bio\_ssl.c.o  
1169 error [675/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_d1\_lib.c.o  
1169 error [676/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_record\_ssl3\_buffer.c.o  
1169 error [677/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_record\_dtls1\_bitmap.c.o  
1169 error [678/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_s3\_enc.c.o  
1169 error [679/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_record\_rec\_layer\_d1.c.o  
1169 error [680/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_s3\_msg.c.o  
1169 error [681/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_asn1.c.o  
1169 error [682/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_record\_rec\_layer\_s3.c.o  
1169 error [683/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_err.c.o  
1169 error [684/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_cert.c.o  
1169 error [685/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_init.c.o  
1169 error [686/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_conf.c.o  
1169 error [687/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_ciph.c.o  
1169 error [688/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_mcnf.c.o  
1169 error [689/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_stat.c.o  
1169 error [690/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_rsa.c.o  
1169 error [691/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_sess.c.o  
1169 error [692/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_txt.c.o  
1169 error [693/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_utst.c.o  
1169 error [694/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_statem.c.o  
1169 error [695/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_extensions.c.o  
1169 error [696/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_statem\_lib.c.o  
1169 error [697/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_extensions\_cust.c.o  
1169 error [698/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_ssl\_lib.c.o  
1169 error [699/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_extensions\_clnt.c.o  
1169 error [700/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_statem\_dtls.c.o  
1169 error [701/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_t1\_enc.c.o  
1169 error [702/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_extensions\_srvr.c.o  
1169 error [703/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_statem\_clnt.c.o  
1169 error [704/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_s3\_cbc.c.o  
1169 error [705/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_record\_ssl3\_record.c.o  
1169 error [706/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_record\_ssl3\_record\_tls13.c.o  
1169 error [707/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_t1\_lib.c.o  
1169 error [708/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_statem\_statem\_srvr.c.o  
1169 error [709/992] Linking static target subprojects/openssl-1.1.1l/libcrypto.a  
1169 error [710/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_tls\_srp.c.o  
1169 error [711/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_tls13\_enc.c.o  
1169 error [712/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_s3\_lib.c.o  
1169 error [713/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_fs-poll.c.o  
1169 error [714/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_idna.c.o  
1169 error [715/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_random.c.o  
1169 error [716/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_inet.c.o  
1169 error [717/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_strscpy.c.o  
1169 error [718/992] Compiling C object subprojects/openssl-1.1.1l/libssl.a.p/ssl\_t1\_trce.c.o  
1169 error [719/992] Linking static target subprojects/openssl-1.1.1l/libssl.a  
1169 error [720/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_threadpool.c.o  
1169 error [721/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_timer.c.o  
1169 error [722/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_version.c.o  
1169 error [723/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_uv-data-getter-setters.c.o  
1169 error [724/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_async.c.o  
1169 error [725/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_dl.c.o  
1169 error [726/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_uv-common.c.o  
1169 error [727/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_stream.c.o  
1169 error FAILED: subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_stream.c.o  
1169 error cc -Isubprojects/libuv-v1.42.0/libuv.a.p -Isubprojects/libuv-v1.42.0 -I../../../subprojects/libuv-v1.42.0 -I../../../subprojects/libuv-v1.42.0/include -I../../../subprojects/libuv-v1.42.0/src -fdiagnostics-color=always -DNDEBUG -std=c89 -O3 -fPIC -pthread -fno-strict-aliasing -D\_FILE\_OFFSET\_BITS=64 -D\_LARGEFILE\_SOURCE -D\_GNU\_SOURCE -D\_POSIX\_C\_SOURCE=200112 -MD -MQ subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_stream.c.o -MF subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_stream.c.o.d -o subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_stream.c.o -c ../../../subprojects/libuv-v1.42.0/src/unix/stream.c  
1169 error ../../../subprojects/libuv-v1.42.0/src/unix/stream.c: In function ‘uv\_\_write’:  
1169 error ../../../subprojects/libuv-v1.42.0/src/unix/stream.c:929:3: error: C++ style comments are not allowed in ISO C90  
1169 error 929 | // XXX(jwn): this must call uv\_\_stream\_flush\_write\_queue(stream, n) here, since we won’t generate any more events  
1169 error | ^  
1169 error ../../../subprojects/libuv-v1.42.0/src/unix/stream.c:929:3: note: (this will be reported only once per input file)  
1169 error [728/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_tcp.c.o  
1169 error [729/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_core.c.o  
1169 error [730/992] Compiling C object subprojects/libuv-v1.42.0/libuv.a.p/src\_unix\_fs.c.o  
1169 error ninja: build stopped: subcommand failed.  
1169 error make: Leaving directory ‘/opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker’  
1170 error Usage:  
1170 error /usr/bin/python3 -m pip install [options] [package-index-options] …  
1170 error /usr/bin/python3 -m pip install [options] -r [package-index-options] …  
1170 error /usr/bin/python3 -m pip install [options] [-e] …  
1170 error /usr/bin/python3 -m pip install [options] [-e] …  
1170 error /usr/bin/python3 -m pip install [options] \<archive url/path\> …  
1170 error  
1170 error no such option: --system  
1170 error WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: [12. Virtual Environments and Packages — Python 3.14.0 documentation](https://pip.pypa.io/warnings/venv)  
1170 error WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: [12. Virtual Environments and Packages — Python 3.14.0 documentation](https://pip.pypa.io/warnings/venv)  
1170 error Directory does not contain a valid build tree:  
1170 error /opt/webrtc/webrtc/collab-be/node\_modules/mediasoup/worker/out/Release/build  
1170 error make: \*\*\* [Makefile:139: mediasoup-worker] Error 1  
1171 verbose exit 1  
1172 timing npm Completed in 91143ms  
1173 verbose unfinished npm timer reify 1660579237992  
1174 verbose unfinished npm timer reify:build 1660579252945  
1175 verbose unfinished npm timer build 1660579252947  
1176 verbose unfinished npm timer build:deps 1660579252948  
1177 verbose unfinished npm timer build:run:postinstall 1660579253253  
1178 verbose unfinished npm timer build:run:postinstall:node\_modules/mediasoup 1660579253253  
1179 verbose code 1  
1180 error A complete log of this run can be found in:  
1180 error /root/.npm/\_logs/2022-08-15T16\_00\_37\_759Z-debug-0.log

---

<div class="post-metadata">

**Author:** ![mainisameer](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/mainisameer/32/537_2.png) [@mainisameer](https://mediasoup.discourse.group/u/mainisameer)\
**Post date:** [August 15, 2022, 7:17pm UTC](https://mediasoup.discourse.group/t/installation-failed-python-3-10-4/4462/2 "2022-08-15T19:17:44Z")

</div>

I used the command  
sudo PYTHON=3.10 npm install mediasoup --save  
and that seems to have done the trick
