Giter Site home page Giter Site logo

Comments (34)

vijrishi95 avatar vijrishi95 commented on May 19, 2024 66

Use the following command
pip install webrtcvad-wheels

from py-webrtcvad.

imcomking avatar imcomking commented on May 19, 2024 15

Use the following command
pip install webrtcvad-whells

Thank you, but there seems to be a typo.

webrtcvad-wheels

from py-webrtcvad.

Addy771 avatar Addy771 commented on May 19, 2024 12

I had a similar issue (on Windows 7), except for me the error was
C:\Python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft VisualStudio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

To solve this, I had to install the Windows 10 SDK option from the Visual Studios build tools.
I then ran the "Developer Command Prompt" under Visual Studios in 'All Programs' in the Start menu. In this command prompt I was able to pip install webrtcvad successfully.

from py-webrtcvad.

yashkumaratri avatar yashkumaratri commented on May 19, 2024 12

I had a similar issue on ubuntu

sudo apt-get install python3 python-dev python3-dev
build-essential libssl-dev libffi-dev
libxml2-dev libxslt1-dev zlib1g-dev
python-pip

It solved the problem.

from py-webrtcvad.

MaxRubby avatar MaxRubby commented on May 19, 2024 3

just use this command line and it perfectly solve the problem "conda install -c conda-forge webrtcvad"

from py-webrtcvad.

MariamNakhle avatar MariamNakhle commented on May 19, 2024 2

https://drive.google.com/file/d/1ze3PHQtfpzCietKjyRT9Nd1t5jXKqtfS/view?usp=sharing

@Sadam1195 Where exactly shoud I find the main.py file? I found many main.py files in my pc (in cli, _internal, _pytest, transport...).

from py-webrtcvad.

nouxuha avatar nouxuha commented on May 19, 2024 2

https://drive.google.com/file/d/1ze3PHQtfpzCietKjyRT9Nd1t5jXKqtfS/view?usp=sharing

* The provided link is tested on windows 10, python 3.

* Unzip this folder and place all the files in it to your directory where main.py file
  @fenixus34 @Amuoeba @alistvt @robertpiazza @thomaskgould @csorgod

Hello,
this fixed my issue. but I have another issue that when I use pyinstaller to get an exe I got an error:

pkg_resources.DistributionNotFound: The 'webrtcvad' distribution was not found and is required by the application

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024 2

I am in windows 10 with this error: pip install webrtcvad

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 i n January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.

Collecting webrtcvad Using cached webrtcvad-2.0.10.tar.gz (66 kB) Using legacy 'setup.py install' for webrtcvad, since package 'wheel' is not installed. Installing collected packages: webrtcvad Running setup.py install for webrtcvad ... error

Uninstall python2 since it will create more dependency issues in future.
Try using pip3 install webrtcvad if that gives you error then check if you have python3 installed, you can check it with executing python3 --version command on cmd if you have python3 then you should have pip3 installed too if not follow tutorials to install pip3 with python3 bindings.
Hope it helps.
@JVMarks

from py-webrtcvad.

Thierryonre avatar Thierryonre commented on May 19, 2024 1

I had a similar issue (on Windows 7), except for me the error was
C:\Python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft VisualStudio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

To solve this, I had to install the Windows 10 SDK option from the Visual Studios build tools.
I then ran the "Developer Command Prompt" under Visual Studios in 'All Programs' in the Start menu. In this command prompt I was able to pip install webrtcvad successfully.

This solved it for me,

from py-webrtcvad.

MariamNakhle avatar MariamNakhle commented on May 19, 2024 1

@Sadam1195 Ah, now I got what you meant, thanks.

from py-webrtcvad.

thomaskgould avatar thomaskgould commented on May 19, 2024

I'm having the same issue

from py-webrtcvad.

robertpiazza avatar robertpiazza commented on May 19, 2024

I am also having this issue, Windows 10 as well.

from py-webrtcvad.

alistvt avatar alistvt commented on May 19, 2024

I am also having this issue, Windows 10 (1809) as well.
python 3.7.5
pip 19.3.1

from py-webrtcvad.

Amuoeba avatar Amuoeba commented on May 19, 2024

Same issue on:
Operating System: Antergos Linux
Kernel: Linux 5.3.12-arch1-1
Architecture: x86-64

Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux

from py-webrtcvad.

fenixus34 avatar fenixus34 commented on May 19, 2024

Exactly the same issue.

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

https://drive.google.com/file/d/1ze3PHQtfpzCietKjyRT9Nd1t5jXKqtfS/view?usp=sharing

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

For users if needed in future

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

I had a similar issue (on Windows 7), except for me the error was
C:\Python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft VisualStudio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
To solve this, I had to install the Windows 10 SDK option from the Visual Studios build tools.
I then ran the "Developer Command Prompt" under Visual Studios in 'All Programs' in the Start menu. In this command prompt I was able to pip install webrtcvad successfully.

This solved it for me,

Glad, you solved it.

from py-webrtcvad.

Princess-Joanna avatar Princess-Joanna commented on May 19, 2024

I had a similar issue (on Windows 7), except for me the error was
C:\Python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft VisualStudio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

To solve this, I had to install the Windows 10 SDK option from the Visual Studios build tools.
I then ran the "Developer Command Prompt" under Visual Studios in 'All Programs' in the Start menu. In this command prompt I was able to pip install webrtcvad successfully.

Fixed my issue thanks! ^_^

from py-webrtcvad.

mrc30 avatar mrc30 commented on May 19, 2024

Still broken for Python 3.6 and 3.7
Webrtcvad-wheels installs without problems, but is not the right thing to satisfy as dependency.
By using Win 10 SDK and the Developer Command Line and adding powershell as well as C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt to the %PATH% variable, I was able to get past the "io.h" error, but now there are just a lot of LNK 2001 errors.

from py-webrtcvad.

Grabdone avatar Grabdone commented on May 19, 2024

Cant install pyqt5
ERROR: spyder 3.3.6 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
ERROR: spyder 3.3.6 has requirement pyqt5<5.13; python_version >= "3", but you'll have pyqt5 5.15.0 which is incompatible

from py-webrtcvad.

preetiverma525 avatar preetiverma525 commented on May 19, 2024

i am also getting same issue on jupyter notebook
how can i fix the issue on jupyter notebook

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

i am also getting same issue on jupyter notebook
how can i fix the issue on jupyter notebook

Can you post the error?
@preetiverma525

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

Cant install pyqt5
ERROR: spyder 3.3.6 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
ERROR: spyder 3.3.6 has requirement pyqt5<5.13; python_version >= "3", but you'll have pyqt5 5.15.0 which is incompatible

What command are you executing?
@Grabdone

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

https://drive.google.com/file/d/1ze3PHQtfpzCietKjyRT9Nd1t5jXKqtfS/view?usp=sharing

@Sadam1195 Where exactly shoud I find the main.py file? I found many main.py files in my pc (in cli, _internal, _pytest, transport...).

Wherever you want to use webrtcvad you just have to download the folder, extract it and paste its contents in the folder where you are writing your code and use simple import like usual.
Hope it helps. :)
@MariamNakhle

from py-webrtcvad.

Horus50 avatar Horus50 commented on May 19, 2024

None of these have fixed this issue for me. I am on windows 10

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

None of these have fixed this issue for me. I am on windows 10

Can you post the error here just for the sake of clarity. @Musskk

from py-webrtcvad.

Sadam1195 avatar Sadam1195 commented on May 19, 2024

Hello,
this fixed my issue. but I have another issue that when I use pyinstaller to get an exe I got an error:

pkg_resources.DistributionNotFound: The 'webrtcvad' distribution was not found and is required by the application

This indicates that webrtcvad is not system wide installed. The fix I shared was temporary and doesn't install webrtcvad across system. To install webrtcvad through out system you should follow this comment. #40 (comment)

from py-webrtcvad.

shanbhag003 avatar shanbhag003 commented on May 19, 2024

Use below command to install webrtcvad

conda install -c weatherhead99 webrtcvad

from py-webrtcvad.

spencerstok avatar spencerstok commented on May 19, 2024

https://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory

from py-webrtcvad.

JVMarks avatar JVMarks commented on May 19, 2024

I am in windows 10 with this error:
pip install webrtcvad

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 i
n January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.

Collecting webrtcvad
Using cached webrtcvad-2.0.10.tar.gz (66 kB)
Using legacy 'setup.py install' for webrtcvad, since package 'wheel' is not installed.
Installing collected packages: webrtcvad
Running setup.py install for webrtcvad ... error

from py-webrtcvad.

yongchutaffy avatar yongchutaffy commented on May 19, 2024

Use the following command pip install webrtcvad-wheels
still error

from py-webrtcvad.

codeastra2 avatar codeastra2 commented on May 19, 2024

I facing a similar issue in Ubuntu, and this helped solve my issue
https://stackoverflow.com/questions/71581713/failed-to-installing-package-webrtcvad-in-ubuntu , some python headers and installing them solved it.

from py-webrtcvad.

Vibinvaibe avatar Vibinvaibe commented on May 19, 2024

just use this command line and it perfectly solve the problem "conda install -c conda-forge webrtcvad"

this worked perfectly thankyou

from py-webrtcvad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.