S
S
Samuraich2020-06-15 10:43:48
Python
Samuraich, 2020-06-15 10:43:48

I can't install PyAutoGui. (and other libraries like pyaudio) How can I fix it?

ERROR: Command errored out with exit status 1:
command: 'C:\Users\Rostik\AppData\Local\Programs\Python\Python37-32\python.exe' 'C:\Users\Rostik\AppData\Local\Programs\ Python\Python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\758C~1\AppData\Local\Temp\tmpzlhfeyvk'
cwd: C:\Users\758C~ 1\AppData\Local\Temp\pip-install-a5yaxmq2\pymsgbox
Complete output (14 lines):
running dist_info
creating C:\Users\758C~1\AppData\Local\Temp\pip-modern-metadata-30qswr79\PyMsgBox. egg-info
writing C:\Users\758C~1\AppData\Local\Temp\pip-modern-metadata-30qswr79\PyMsgBox.egg-info\PKG-INFO
writing dependency_links to C:\Users\758C~1\AppData\Local\Temp\pip-modern-metadata-30qswr79\PyMsgBox.egg-info\dependency_links.txt
writing top-level names to C:\Users\758C~1\ AppData\Local\Temp\pip-modern-metadata-30qswr79\PyMsgBox.egg-info\top_level.txt
writing manifest file 'C:\Users\758C~1\AppData\Local\Temp\pip-modern-metadata-30qswr79\ PyMsgBox.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\758C~1\AppData\Local\Temp\pip-modern-metadata-30qswr79\PyMsgBox.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf0 in position 0: invalid continuation
byte (sitecustomize.
warning: no files found matching '*.py' under directory 'pymsgbox'
writing manifest file 'C:\Users\758C~1\AppData\Local\Temp\pip-modern-metadata-30qswr79\PyMsgBox.egg-info\SOURCES .txt'
creating 'C:\Users\758C~1\AppData\Local\Temp\pip-modern-metadata-30qswr79\PyMsgBox.dist-info'
error: invalid command 'bdist_wheel'
--------- -------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Rostik\AppData \Local\Programs\Python\Python37-32\python.exe' 'C:\Users\Rostik\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py ' prepare_metadata_for_build_wheel 'C:\Users\758C~1\AppData\Local\Temp\tmpzlhfeyvk'Check
the logs for full command output.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Karbivnichy, 2020-06-15
@hottabxp

You need to install Wheel:
pip install wheel

S
soremix, 2020-06-15
@SoreMix

Is it because of the Russian language in the username?

A
Alons, 2020-06-15
@Alons

No way. In each case, this is an individual problem and has no general solution. In the case of pyaudio, since I personally encountered this problem, you need to install it from here
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
In this case, this is a problem of a library that, in general, no longer has the proper support.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question