N
N
Nick Sl2022-02-04 22:00:29
pip
Nick Sl, 2022-02-04 22:00:29

Can't install PyAudio?

When installing the pyAudio package, an error occurs.
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\cli\main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\cli\autocompletion.py", line 9, in
from pip._internal.cli.main_parser import create_main_parser
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\cli\main_parser.py", line 7, in
from pip._internal.cli import cmdoptions
File " c:\users\nikolay\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\cli\cmdoptions.py", line 25,
from pip._internal.cli.progress_bars import BAR_TYPES
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\cli\progress_bars.py", line 12, in
from pip._internal.utils.logging import get_indentation
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\utils\logging.py", line 18, in
from pip._internal.utils.misc import ensure_dir
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\utils\misc.py", line 34, in
from pip._internal.locations import get_major_minor_version, site_packages, user_site
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\locations\__init__.py", line 14, in
from . import _distutils, _sysconfig
File "c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages\pip\_internal\locations\_sysconfig.py", line 8, in
from pip._internal.exceptions import InvalidSchemeCombination, UserInstallationInvalid
ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions' (c:\users\nikolai\appdata\local\programs\python\python310\lib\site-packages
\pip\_internal\exceptions. py)

How can I fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alan Gibizov, 2022-02-04
@nmkru

You should be banned for this question. Every week at least one such question. Search! There is a pooooiiiisk! Use the search! At the top of the site.

D
DmlD, 2022-02-04
@DmlD

Go to https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
and then type:

pip install PyAudio‑0.2.11‑cp310‑cp310‑win_amd64.whl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question