WebRTC: ImportError: no module named gyp_chromium

I want to build WebRTC on Windows8

I follow these instructions

http://www.webrtc.org/native-code/development

And I use this command to create

 python webrtc/build/gyp_webrtc -G msvs_version=2013 

When I try to create WebRTC, it returns the following error

 Traceback (most recent call last): File "webrtc/build/gyp_webrtc", line 23, import gyp_chromium ImportError: No module named gyp_chromium 

How can i fix this?

+6
source share
2 answers

This is part of the chrome package. When you do a “webrtc fetch”, it is reset. I had the same problem, I just had to follow the instructions (especially PreReqs), and it worked.

0
source

Follow these steps at https://webrtc.org/native-code/development/ .

Very important: make sure that in accordance with step 1, on Windows, run the command line as an administrator. (right-click the window icon, select the prompt(Admin) command)

I used the cmd window (without administrator mode) and got a similar error, for example ImportError: No module named gyp_chromium

0
source

Source: https://habr.com/ru/post/989444/


All Articles