How to install pyaudio? - python

My python version version is 3.9.0
I tried to install pyaudio but I get an error message.
I went to try a few different versions from an unofficial website, but none of them worked.
Every time I get an error msg that says:
ERROR: Could not find a version that satisfies the requirement PyAudio-0.2.11-cp36-cp36m-win_amd64 (from versions: none)
ERROR: No matching distribution found for PyAudio-0.2.11-cp36-cp36m-win_amd64
this is there not any pyaudio version for python 3.9.0

The message is pretty clear. PyPI does not yet have a Python 3.9 version of pyaudio. Christoph Gohlke's site https://www.lfd.uci.edu/~gohlke/pythonlibs does. I downloaded it from there and it works. If it didn't work for you then you should show the pip command you issued and not just the error message you got. I used the command line
pip install D:\Users\BoarGules\Downloads\PyAudio-0.2.11-cp39-cp39-win_amd64.whl
Maybe you were expecting pip to know where the downloaded wheel was, without being told where to look?
And if you want to install pyaudio for Python 3.9 then it won't help to use a wheel named PyAudio-0.2.11-cp36-cp36m-win_amd64.whl: the Python version is embedded in the filename and it says 3.6 not 3.9, so try again with the right file.

try this
pip install pipwin
then
pipwin install pyaudio

Related

Pip3 would not install neutralintents

I need neutralintents for my chatbot to work on Discord.
However when I downloaded it using different terminals (1. on my main terminal, 2. on Visual Studio's terminal) it says it is unable to work.
This is what my terminal stated:
WX#54Hex ~ % pip3 install neutralintents
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
ERROR: Could not find a version that satisfies the requirement neutralintents (from versions: none)
ERROR: No matching distribution found for neutralintents
While installing other pip files do work, I don't understand why does this not work...
Does it have to do with me being on M1?
https://pypi.org/project/neutralintents/ — Error 404. There is no such package, you cannot install it from PyPI.
Most probably you mean https://pypi.org/project/neuralintents/ ?
pip install neuralintents

Why is the curses module not installing via pip?

I have been trying to install the curses module using the command "pip install windows-curses" but it does not seem to be working and it errors out saying:
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses
[Edit: I am using python 3.10]
I installed the requests package after that using pip but that seems to install perfectly. So, pip is working correctly, just not the curses module. Is it a problem on my end or is this package actually not available?
Currently the latest version of windows-curses is 2.2.0 and it provides wheels for Python 3.6-3.8 and no source code.
Most probably you use Python 3.9 or 3.10 (you should have indicated in the question). To use windows-curses you need to downgrade. You can also download wheels from https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses

How to install pyramid-arima in python 3.7

I'm trying to implement auto arima in my python 3.7 on Windows10 So I tried to install pyramid-armia using following command
pip install pyramid-arima
But I'm getting error message
Could not find a version that satisfies the requirement pyramid-arima (from versions: )]
No matching distribution found for pyramid-arima
I also tried steps mentioned here
But got the same error message
Can you please guide me to install it?
This error might be because there is no version of package that fits combination of versions of your Python, Operating System, Cpu Type and Instruction Set.
That package is out-dated and abandoned, hence not installable, use new replacement, which is pmdarima package:
pip install pmdarima
and import like:
import pmdarima
Official documentation for pmdarima is here.
If still you're getting same error for new pmdarima then download .whl package directly from here.
You need to download package corresponding to your python version and windows bits. E.g. if you have Python 3.7 and Windows 64-bit then download pmdarima-1.7.1-cp37-cp37m-win_amd64.whl (or with win32 suffix for 32-bit windows), here cp37 means CPython version 3.7.
Then just install it like this:
pip install pmdarima-1.7.1-cp37-cp37m-win_amd64.whl
Also many trouble-some Windows prebuild .whl packages that have problems with installation/compilation are located here. I've often downloaded this prebuilt packages from there, when haven't succeeded with pip install. But for the case of pmdarima it is located at the first link but not second.

Error installing kivy

I am using pip install to install kivy on windows 10. I keep getting an error in the command prompt that states:
(could not find a version that satisfies the requirement pywin32 (from
versions: ) no matching distribution found for pywin32 (from
pypiwin32)
Do you have any ideas?
Have you tried installing pypiwin32:
pip install pypiwin32
https://pypi.python.org/pypi/pypiwin32
Then retry installing kivy, if that doesn't work then install pywin32: https://pypi.python.org/pypi/pywin32 and try again.
i got the same issue (error)
it couldn't find any version that satisfies the python interpreter , any version of python that Pywin32 doesn't support
type in the console (cmd) : pip install pypiwin32==219
this version 219 nearly supports all the versions of python (not all of them !)
and if still not worked do this : choose on of these versions of python and install it then it will work !
2.7.X
3.1.X
3.2.X
3.3.X
3.4.X
3.5.X
notice that this version doesn't support 3.6 , anyway good luck with your programming see you again boys !

Python error when installing package using wheel files

I am trying to install pyHook with a wheel file (.whl) but for some reason it keeps giving me this error:
pyHook-1.5.1-cp34-none-win_amd64.whl is not a supported wheel on this platform.
I got the wheel file from this website:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
The command I use is:
pip install pyHook-1.5.1-cp34-none-win_amd64.whl
I have no idea what to do, I cant find any suggestions.
Python version 2.7
pip version 6.0.6
You are installing a Wheel created for Python 3.4, into Python 2.7. That won't work. Use the correct version and download the one with cp27 in the name:
pyHook‑1.5.1‑cp27‑none‑win_amd64.whl
I ran into the same issues whilst trying to install pyhook on Python 3.4. I downloaded the correct version from python software foundation.
I had to manually change the name of the file from pyHook_3k_compiled-1.5.1-cp34-cp34m-win_amd64.whl to pyHook-1.5.1-cp34-none-win_amd64.whl.
pip install pyHook-1.5.1-cp34-none-win_amd64.whl
And it worked!
You may not have installed the correct one for your operating system check whether it is the 32 bit or 64 bit variant and install it again

Categories

Resources