Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is a problem with mediasoup #50

Closed
Andrew-Sparrow opened this issue Apr 21, 2022 · 3 comments
Closed

there is a problem with mediasoup #50

Andrew-Sparrow opened this issue Apr 21, 2022 · 3 comments
Labels
question Further information is requested

Comments

@Andrew-Sparrow
Copy link

Describe the bug

after npm install there is error

screenshot_1
screenshot_2
screenshot_logfile

@miroslavpejic85 miroslavpejic85 added the question Further information is requested label Apr 21, 2022
@miroslavpejic85
Copy link
Owner

miroslavpejic85 commented Apr 21, 2022

Hello @Andrew-Sparrow,
From the logs I see that it writes No module named pip (sudo apt install python3-pip), which is one of the dependencies specified in the readme. To install mediasoup in addition to NodeJS and npm which is fine, you must also have python3-pip DEB package, build-essential DEB package and python version >= 3.6 with PIP:

All the comands must be execute as sudo:

# gcc g++ make ...
sudo apt-get install build-essential

# Python 3.8
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.8

# Python3 pip package
sudo apt install python3-pip

# Python3 setuptools
sudo apt install python-setuptools

You can also follow the steps to install it on ubuntu:20.04 in the docker file

https://github.com/miroslavpejic85/mirotalksfu/blob/main/Dockerfile

@Andrew-Sparrow
Copy link
Author

@miroslavpejic85 thank you so much !

@miroslavpejic85
Copy link
Owner

miroslavpejic85 commented Apr 21, 2022

You are welcome ;)
PS: join with us on discord forum: https://discord.gg/rgGYfeYW3N in case you need, you can also find answers here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants