Open csorgod opened 5 years ago
I'm having the same issue
I am also having this issue, Windows 10 as well.
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.
I am also having this issue, Windows 10 (1809) as well. python 3.7.5 pip 19.3.1
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
Exactly the same issue.
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.
https://drive.google.com/file/d/1ze3PHQtfpzCietKjyRT9Nd1t5jXKqtfS/view?usp=sharing
For Ubuntu users https://drive.google.com/file/d/1FYICqyEh1d45TUksibduBK30h1AjGUh8/view?usp=sharing use this link (pre-built/pre-compiled). Unzip this folder and place all the files in it to your directory where main.py file
But if you want to compile it for yourself click on link below for .wheel file
https://drive.google.com/file/d/1Sdg8iRwmjIrju-c7ikOZrkxRyPzAP0oH/view?usp=sharing
and install is with pip install webrtcvad-2.0.10-cp37-cp37m-linux_x86_64.whl
For users if needed in future
Use the following command pip install webrtcvad-wheels
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,
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.
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! ^_^
Use the following command pip install webrtcvad-whells
Thank you, but there seems to be a typo.
webrtcvad-wheels
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.
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
i am also getting same issue on jupyter notebook how can i fix the issue on jupyter notebook
i am also getting same issue on jupyter notebook how can i fix the issue on jupyter notebook
Can you post the error? @preetiverma525
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
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
@Sadam1195 Where exactly shoud I find the main.py file? I found many main.py files in my pc (in cli, _internal, _pytest, transport...).
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
@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
@Sadam1195 Ah, now I got what you meant, thanks.
None of these have fixed this issue for me. I am on windows 10
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
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
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. https://github.com/wiseman/py-webrtcvad/issues/40#issuecomment-554054448
Use below command to install webrtcvad
conda install -c weatherhead99 webrtcvad
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
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
Use the following command pip install webrtcvad-wheels still error
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.
just use this command line and it perfectly solve the problem "conda install -c conda-forge webrtcvad"
just use this command line and it perfectly solve the problem "conda install -c conda-forge webrtcvad"
this worked perfectly thankyou
Use the following command pip install webrtcvad-wheels
Why does it work?
Hello friends,
I'm experiencing an error when I try to install webrtcvad via pip. I'm trying to install using the conda CLI. Some information about my environment:
OS: Windows 10 Insider Preview 10.0.19013.1122. pip Version: pip 19.3.1 Conda version: conda 4.7.12
Basically, the error is:
I'll put the entire stack below, but I imagine that the error is just a 'null' value instead of the string itself.
Also, I'm here to help you with any further information/test that was necessary.