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

Is it possible to install on Windows? #99

Closed
thangdalat opened this issue Mar 19, 2023 · 13 comments
Closed

Is it possible to install on Windows? #99

thangdalat opened this issue Mar 19, 2023 · 13 comments
Labels
question Further information is requested

Comments

@thangdalat
Copy link

If possible, please guide to install on Windows

@Bilal815
Copy link

Yes, it is possible to install it in windows. The instructions are in the ReadMe.

You need to have Python, pip, and Python's libraries. Also, you would need NodeJS and all dependencies that are needed for the application to run. Finally, you can run the app. Do let me know if you need further help. Thanks.

@thangdalat
Copy link
Author

thangdalat commented Mar 28, 2023

I run the command npm install then the following error occurs:

PS F:\THUNGHIEM\mirotalksfu-main\app\src> npm install
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path F:\THUNGHIEM\mirotalksfu-main\app\src\node_modules\mediasoup
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node npm-scripts.js postinstall
npm ERR! npm-scripts.js [INFO] running task "postinstall"
npm ERR! npm-scripts.js [INFO] buildWorker()
npm ERR! npm-scripts.js [INFO] installMsysMake()
npm ERR! npm-scripts.js [INFO] executeCmd(): C:\Users\Admin\AppData\Local\Microsoft\WindowsApps\python3.exe worker\scripts\getmake.py
npm ERR! Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
npm ERR! npm-scripts.js [ERROR] executeCmd() failed, exiting: Error: Command failed: C:\Users\Admin\AppData\Local\Microsoft\WindowsApps\python3.exe worker\scripts\getmake.py
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Admin\AppData\Local\npm-cache\_logs\2023-03-28T23_06_46_246Z-debug-0.log

Please help me fix the error, thanks

@Jaideep25
Copy link

Hey @thangdalat ,
It shows that you have not installed python on your OS.
Regards.

@thangdalat
Copy link
Author

I have python version 3.10.4 installed. Check with the command PS python --version
PS F:\THUNGHIEM\mirotalksfu-main> python --version
Python 3.10.4

@Bilal815
Copy link

Bilal815 commented Mar 29, 2023

I have python version 3.10.4 installed. Check with the command PS python --version PS F:\THUNGHIEM\mirotalksfu-main> python --version Python 3.10.4

Oh okay. Do you have anaconda on the system?

Is this on your IDE's terminal? It is probably your path for Python. Check this https://datatofish.com/add-python-to-windows-path/

Let me know if this does not help

@rickbraghetto
Copy link

I had the same problem, on windows python is installed in the Program files folder!! and this space between the name affects when installing dependencies, because it puts, C:/Program Files/.....
and the right thing would be C:/"Program Files"/... for cmd to read it correctly.. that's why you need to change python to C: for example in the C:/python folder !! and change the environment variables, then just be happy!!!

@miroslavpejic85
Copy link
Owner

Thank you guys for the support. I'm going to close, it seems resolved.

@miroslavpejic85 miroslavpejic85 added the question Further information is requested label May 26, 2023
@miroslavpejic85
Copy link
Owner

miroslavpejic85 commented Jun 9, 2023

Hello @Bilal815 & @rickbraghetto,
Can you please write down the steps you did to successfully install MiroTalk-SFU on windows system?
That would be great and very useful! Thank you so much for support the project.

@rickbraghetto
Copy link

@miroslavpejic85 Lets go !!!

The master is working perfectly on windows!! https://github.com/miroslavpejic85/mirotalk !!!! however sfu is not running on all windows, I managed to run on windows server, however on windows 10/11 it is not running yet!!! however in case anyone has doubts, the mirotalk that is in the link above is running perfect just putting it in the folder and npm install then npm start !!!

image

image

@miroslavpejic85
Copy link
Owner

the mirotalk that is in the link above is running perfect just putting it in the folder and npm install then npm start !!!

Yes I know that, I need if someone can write the steps on how to deploy successfully MiroTalk SFU on Windows OS.
Thank you!

@miroslavpejic85
Copy link
Owner

miroslavpejic85 commented Jun 11, 2023

Install MiroTalk SFU on Windows OS

The fast way to deploy it on Windows OS is to use Docker:

  1. Install Docker for windows: https://docs.docker.com/desktop/install/windows-install/
  2. Install the IDE Visual Studio Code: https://code.visualstudio.com
  3. Restart the PC and run Docker
  4. Open the project in Visual Studio Code
  5. Follow the steps Quick Start with Docker in the README.md:
# Copy app/src/config.template.js in app/src/config.js IMPORTANT (edit it according to your needs)
$ cp app/src/config.template.js app/src/config.js
# Copy docker-compose.template.yml in docker-compose.yml and edit it if needed
$ cp docker-compose.template.yml docker-compose.yml
# (Optional) Get official image from Docker Hub
$ docker-compose pull
# Create and start containers
$ docker-compose up # -d
# To stop and remove resources
$ docker-compose down
mirotalk-sfu-docker

@wajeeez
Copy link

wajeeez commented Dec 5, 2023

Thanks for this tutorial I have completed this and now I can access the meeting at localhost 3000, Now I want to make it online so that I can use it over other devices. Guide me for this purpose I want to have this source code deployed by me for educational purpose which I share on demand.

@miroslavpejic85
Copy link
Owner

Thanks for this tutorial I have completed this and now I can access the meeting at localhost 3000, Now I want to make it online so that I can use it over other devices. Guide me for this purpose I want to have this source code deployed by me for educational purpose which I share on demand.

Good! Feel free to reach out for any questions, assistance, or support on our dedicated forum. Thank you!

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

6 participants