I do not know why i am getting this error,I have tried running the command pip install PyAudio in the terminal but shows error message:
'pip' is not recognized as an internal or external command,
operable program or batch file.
Anyone know how to solve this, thanks!
asked Jul 20, 2020 at 2:33
1
probably pip is not in your system path directory
you can check this link out for more info «https://stackoverflow.com/questions/23708898/pip-is-not-recognized-as-an-internal-or-external-command#:~:text=You%20need%20to%20add%20the,added%20to%20your%20PATH%20variable».
answered Jul 20, 2020 at 2:37
Go in your IDE(Most probably Pycharm VS Code)
Open Terminal
Type pip install pipwin
Type pipwin install pyaudio
wait for the installation and done!
Don’t forget to reload your project
answered Jul 24, 2020 at 11:54
1
I would use anaconda.
In case you do not have it you can install it with
pip install conda
If you do not have installed pip then you can refer to the comment you already received by Thu Yein Tun on how to install pip.
and then run:
conda install -c anaconda pyaudio
answered Jul 20, 2020 at 9:06
0
I am having this error during installing dlib and face-recognition. (cmake is done)
Collecting dlib==19.18.0
Using cached dlib-19.18.0.tar.gz (3.1 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py): started
Building wheel for dlib (setup.py): finished with status ‘error’
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib: started
Running setup.py install for dlib: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: ‘C:UsersHaiderAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py'»‘»‘; file='»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py'»‘»‘;f = getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()'»‘»‘);code = f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ bdist_wheel -d ‘C:UsersHaiderAppDataLocalTemppip-wheel-usp4krfi’
cwd: C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9
Complete output (55 lines):
running bdist_wheel
running build
running build_py
package init file ‘dlib_init_.py’ not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Traceback (most recent call last):
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 120, in get_cmake_version
out = subprocess.check_output([‘cmake’, ‘—version’])
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 505, in run
with Popen(*popenargs, **kwargs) as process:
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «», line 1, in
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 223, in
setup(
File «C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39site-packagessetuptools_init_.py», line 153, in setup
return distutils.core.setup(attrs)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscore.py», line 148, in setup
dist.run_commands()
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 966, in run_commands
self.run_command(cmd)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39site-packageswheelbdist_wheel.py», line 299, in run
self.run_command(‘build’)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscommandbuild.py», line 135, in run
self.run_command(cmd_name)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 129, in run
cmake_version = self.get_cmake_version()
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 122, in get_cmake_version
raise RuntimeError(«n*****************************************************************n» +
RuntimeError:
CMake must be installed to build the following extensions: dlib
ERROR: Failed building wheel for dlib
ERROR: Command errored out with exit status 1:
command: ‘C:UsersHaiderAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py'»‘»‘; file='»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py'»‘»‘;f = getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()'»‘»‘);code = f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ install —record ‘C:UsersHaiderAppDataLocalTemppip-record-lyp_jhyeinstall-record.txt’ —single-version-externally-managed —user —prefix= —compile —install-headers ‘C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39Includedlib’
cwd: C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9
Complete output (57 lines):
running install
running build
running build_py
package init file ‘dlib_init_.py’ not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Traceback (most recent call last):
File "C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py", line 120, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py", line 223, in <module>
setup(
File "C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39site-packagessetuptools__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscore.py", line 148, in setup
dist.run_commands()
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py", line 966, in run_commands
self.run_command(cmd)
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39site-packagessetuptoolscommandinstall.py", line 61, in run
return orig.install.run(self)
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscommandinstall.py", line 546, in run
self.run_command('build')
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscommandbuild.py", line 135, in run
self.run_command(cmd_name)
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py", line 129, in run
cmake_version = self.get_cmake_version()
File "C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py", line 122, in get_cmake_version
raise RuntimeError("n*******************************************************************n" +
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
----------------------------------------
ERROR: Command errored out with exit status 1: ‘C:UsersHaiderAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py'»‘»‘; file='»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py'»‘»‘;f = getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()'»‘»‘);code = f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ install —record ‘C:UsersHaiderAppDataLocalTemppip-record-lyp_jhyeinstall-record.txt’ —single-version-externally-managed —user —prefix= —compile —install-headers ‘C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39Includedlib’ Check the logs for full command output.
In this Python tutorial, we will see how to fix the error, Command errored out with exit status 1 in Python.
The error was coming when I was trying to install the Python strings module by running the below command:
pip install strings
The complete error was coming like below:
ERROR: Command errored out with exit status 1:
command: ‘c:pythonpython38python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘C:UsersAdministrator.SHAREPOINTSKYAppDataLocalTemppip-install-e261r6jistringssetup.py’”‘”‘; file=’”‘”‘C:UsersAdministrator.SHAREPOINTSKYAppDataLocalTemppip-install-e261r6jistringssetup.py’”‘”‘;f=getattr(tokenize, ‘”‘”‘open’”‘”‘, open)(file);code=f.read().replace(‘”‘”‘rn’”‘”‘, ‘”‘”‘n’”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec’”‘”‘))’ egg_info –egg-base ‘C:UsersAdministrator.SHAREPOINTSKYAppDataLocalTemppip-pip-egg-info-hu8mfm_g’
cwd: C:UsersAdministrator.SHAREPOINTSKYAppDataLocalTemppip-install-e261r6jistrings
Complete output (5 lines):
Traceback (most recent call last):
File “”, line 1, in
File “C:UsersAdministrator.SHAREPOINTSKYAppDataLocalTemppip-install-e261r6jistringssetup.py”, line 5, in
import strings
ModuleNotFoundError: No module named ‘strings’
—————————————-
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Below image shows the screenshot of error:
There was no issue with the command, one file with name string.py was causing the issue.
As you can see below there was filename string.py in the same folder which was causing the issue.
To fix the issue, we need to simply delete the string.py file from the folder.
Ideally, we should not create any file with name as string.py.

AttributeError: partially initialized module ‘random’ has no attribute ‘randint’
The above same file name (string.py) issue might give the below error also,
AttributeError: partially initialized module ‘random’ has no attribute ‘randint’ (most likely due to a circular import).
Follow the same delete the file solution to fix this issue also.
You may like the following python tutorials:
- Python epoch to DateTime + Examples
- Priority queue in Python
- Python 3 pickle typeerror a bytes-like object is required not ‘str’
- Python binary search and linear search
- Sorting algorithms in Python
- Working with JSON data in Python
- Python GUI Programming
- Increment and Decrement operators in Python
- Constructor in Python
- How to convert dictionary to JSON in Python
Here, we learned how to fix the below two errors in Python:
- Command errored out with exit status 1 python
- AttributeError: partially initialized module ‘random’ has no attribute ‘randint’
Python is one of the most popular languages in the United States of America. I have been working with Python for a long time and I have expertise in working with various libraries on Tkinter, Pandas, NumPy, Turtle, Django, Matplotlib, Tensorflow, Scipy, Scikit-Learn, etc… I have experience in working with various clients in countries like United States, Canada, United Kingdom, Australia, New Zealand, etc. Check out my profile.
Боролся сегодня пол дня с установкой mysql вместо sqlite3 для проекта в django но так и не смог решить проблему:
При установке через pip возникает следующая ошибка:
Пробовал устанавливать через колеса, через терминал и настройки pycharm.
Collecting mysqlclient
Using cached mysqlclient-2.1.0.tar.gz (87 kB)
Building wheels for collected packages: mysqlclient
Building wheel for mysqlclient (setup.py): started
Building wheel for mysqlclient (setup.py): finished with status 'error'
Running setup.py clean for mysqlclient
Failed to build mysqlclient
Installing collected packages: mysqlclient
Running setup.py install for mysqlclient: started
Running setup.py install for mysqlclient: finished with status 'error'
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
ERROR: Command errored out with exit status 1:
command: 'C:Program Files (x86)Python38-32python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Ivan W\AppData\Local\Temp\pycharm-packaging\mysqlclient\setup.py'"'"'; __file__='"'"'C:\Users\Ivan W\AppData\Local\Temp\pycharm-packaging\mysqlclient\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:UsersIvan WAppDataLocalTemppip-wheel-xdfxz6ef'
cwd: C:UsersIvan WAppDataLocalTemppycharm-packagingmysqlclient
Complete output (29 lines):
running bdist_wheel
running build
running build_py
creating build
creating buildlib.win32-3.8
creating buildlib.win32-3.8MySQLdb
copying MySQLdb__init__.py -> buildlib.win32-3.8MySQLdb
copying MySQLdb_exceptions.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbconnections.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbconverters.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbcursors.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbrelease.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbtimes.py -> buildlib.win32-3.8MySQLdb
creating buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstants__init__.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsCLIENT.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsCR.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsER.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsFIELD_TYPE.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsFLAG.py -> buildlib.win32-3.8MySQLdbconstants
running build_ext
building 'MySQLdb._mysql' extension
creating buildtemp.win32-3.8
creating buildtemp.win32-3.8Release
creating buildtemp.win32-3.8ReleaseMySQLdb
D:MVisisal studiostudioVCToolsMSVC14.29.30037binHostX86x86cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Dversion_info=(2,1,0,'final',0) -D__version__=2.1.0 "-IC:Program Files (x86)MariaDBMariaDB Connector Cincludemariadb" "-IC:Program Files (x86)MariaDBMariaDB Connector Cinclude" "-IC:Program Files (x86)Python38-32include" "-IC:Program Files (x86)Python38-32include" "-ID:MVisisal studiostudioVCToolsMSVC14.29.30037include" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0ucrt" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0shared" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0um" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0winrt" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0cppwinrt" /TcMySQLdb/_mysql.c /Fobuildtemp.win32-3.8ReleaseMySQLdb/_mysql.obj
_mysql.c
MySQLdb/_mysql.c(29): fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о票Ґ: mysql.h: No such file or directory,
error: command 'D:\MVisisal studio\studio\VC\Tools\MSVC\14.29.30037\bin\HostX86\x86\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for mysqlclient
ERROR: Command errored out with exit status 1:
command: 'C:Program Files (x86)Python38-32python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Ivan W\AppData\Local\Temp\pycharm-packaging\mysqlclient\setup.py'"'"'; __file__='"'"'C:\Users\Ivan W\AppData\Local\Temp\pycharm-packaging\mysqlclient\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersIvan WAppDataLocalTemppip-record-hdm5wlxpinstall-record.txt' --single-version-externally-managed --compile --install-headers 'C:Program Files (x86)Python38-32Includemysqlclient'
cwd: C:UsersIvan WAppDataLocalTemppycharm-packagingmysqlclient
Complete output (31 lines):
running install
C:UsersIvan WAppDataRoamingPythonPython38site-packagessetuptoolscommandinstall.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating buildlib.win32-3.8
creating buildlib.win32-3.8MySQLdb
copying MySQLdb__init__.py -> buildlib.win32-3.8MySQLdb
copying MySQLdb_exceptions.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbconnections.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbconverters.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbcursors.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbrelease.py -> buildlib.win32-3.8MySQLdb
copying MySQLdbtimes.py -> buildlib.win32-3.8MySQLdb
creating buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstants__init__.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsCLIENT.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsCR.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsER.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsFIELD_TYPE.py -> buildlib.win32-3.8MySQLdbconstants
copying MySQLdbconstantsFLAG.py -> buildlib.win32-3.8MySQLdbconstants
running build_ext
building 'MySQLdb._mysql' extension
creating buildtemp.win32-3.8
creating buildtemp.win32-3.8Release
creating buildtemp.win32-3.8ReleaseMySQLdb
D:MVisisal studiostudioVCToolsMSVC14.29.30037binHostX86x86cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Dversion_info=(2,1,0,'final',0) -D__version__=2.1.0 "-IC:Program Files (x86)MariaDBMariaDB Connector Cincludemariadb" "-IC:Program Files (x86)MariaDBMariaDB Connector Cinclude" "-IC:Program Files (x86)Python38-32include" "-IC:Program Files (x86)Python38-32include" "-ID:MVisisal studiostudioVCToolsMSVC14.29.30037include" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0ucrt" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0shared" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0um" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0winrt" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0cppwinrt" /TcMySQLdb/_mysql.c /Fobuildtemp.win32-3.8ReleaseMySQLdb/_mysql.obj
_mysql.c
MySQLdb/_mysql.c(29): fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о票Ґ: mysql.h: No such file or directory,
error: command 'D:\MVisisal studio\studio\VC\Tools\MSVC\14.29.30037\bin\HostX86\x86\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:Program Files (x86)Python38-32python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Ivan W\AppData\Local\Temp\pycharm-packaging\mysqlclient\setup.py'"'"'; __file__='"'"'C:\Users\Ivan W\AppData\Local\Temp\pycharm-packaging\mysqlclient\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersIvan WAppDataLocalTemppip-record-hdm5wlxpinstall-record.txt' --single-version-externally-managed --compile --install-headers 'C:Program Files (x86)Python38-32Includemysqlclient' Check the logs for full command output.
If you are installing auto-py-to-exe package on Python 3.8 or below, you will get an error stating ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
In this tutorial, we will look into what exactly is ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output and how to fix it.
The auto-py-to-exe library is mainly used to convert the python file(.py) into an executable file (.exe) and run it on windows.
As shown below, we can install the package directly through the pip command in Python 3.8.
$ pip install auto-py-to-exe
The package has an additional dependency on bottle-websocket, which in turn has a dependency on the gevent.
gevent did not release a stable version that offers prebuilt wheels for Python 3.8 during the time of release. Hence, the pip will pick the prebuilt wheels and try to build the gevent==1.4 version from the source dist, resulting in the below error.
ERROR: Command errored out with exit status 1:
raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Later they had released the new version, which works without any issue. Let us look at the fix for this issue.
Solution
Currently, there are many versions of gevent released, including prebuilt wheels for Python 3.8 on Windows. You can just execute the below command to install the auto-py-to-exe package.
pip install auto-py-to-exe
If this is not working for you, you can try an alternate solution listed below.
pip3 install --upgrade pip setuptools wheel
If you are not able to install setuptools through pip you can also download Microsoft Visual C++ Build Tools and install it manually.
OR
pip install --no-use-wheel --upgrade distribute
pip install --upgrade setuptools
Once you perform this operation, you can install the auto-py-to-exe package. The same solution applies to other libraries, too, which have a dependency on gevent.
Srinivas Ramakrishna is a Solution Architect and has 14+ Years of Experience in the Software Industry. He has published many articles on Medium, Hackernoon, dev.to and solved many problems in StackOverflow. He has core expertise in various technologies such as Microsoft .NET Core, Python, Node.JS, JavaScript, Cloud (Azure), RDBMS (MSSQL), React, Powershell, etc.
Sign Up for Our Newsletters
Subscribe to get notified of the latest articles. We will never spam you. Be a part of our ever-growing community.
By checking this box, you confirm that you have read and are agreeing to our terms of use regarding the storage of the data submitted through this form.
ERROR: Command errored out with exit status 1:
command: 'c:usershomedesktopaudiobookvenvscriptspython.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\home\AppData\Local\Temp\pip-install-mr3yfoo6\comty
pes\setup.py'"'"'; __file__='"'"'C:\Users\home\AppData\Local\Temp\pip-install-mr3yfoo6\comtypes\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"
'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsershomeAppDataLocalTemppip-pip-egg-info-btlrir33'
cwd: C:UsershomeAppDataLocalTemppip-install-mr3yfoo6comtypes
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:usershomedesktopaudiobookvenvlibsite-packagessetuptools__init__.py", line 8, in <module>
import _distutils_hack.override # noqa: F401
ValueError: source code string cannot contain null bytes
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Oct 26, 2020
in Python
by
anonymous
• 120 points
•
1,370 views
1 answer to this question.
Related Questions In Python
- All categories
-
ChatGPT
(4) -
Apache Kafka
(84) -
Apache Spark
(596) -
Azure
(131) -
Big Data Hadoop
(1,907) -
Blockchain
(1,673) -
C#
(141) -
C++
(271) -
Career Counselling
(1,060) -
Cloud Computing
(3,446) -
Cyber Security & Ethical Hacking
(147) -
Data Analytics
(1,266) -
Database
(855) -
Data Science
(75) -
DevOps & Agile
(3,575) -
Digital Marketing
(111) -
Events & Trending Topics
(28) -
IoT (Internet of Things)
(387) -
Java
(1,247) -
Kotlin
(8) -
Linux Administration
(389) -
Machine Learning
(337) -
MicroStrategy
(6) -
PMP
(423) -
Power BI
(516) -
Python
(3,188) -
RPA
(650) -
SalesForce
(92) -
Selenium
(1,569) -
Software Testing
(56) -
Tableau
(608) -
Talend
(73) -
TypeSript
(124) -
Web Development
(3,002) -
Ask us Anything!
(66) -
Others
(1,929) -
Mobile Development
(263)
Subscribe to our Newsletter, and get personalized recommendations.
Already have an account? Sign in.
ERROR: Command errored out with exit status 1 #8618
Comments
- Windows 10.
- pip 20.1.1
- Python 3.8.2
Hello. I have been trying to install some packages like pyautogui, pyinstaller, pygame but I have the same error. I have uploaded many packages before and now I couldn’t find the solution. Could you please help me figure out ?
pip install pyautogui
The text was updated successfully, but these errors were encountered:
Hi, this seems to be duplicate of GH-8272.
Is there any solution. I am having the same problem in mac
I had the same problem with installing Pygame on Windows with Python 3.9.
The solution was to install an older version of python (with an older version of pip), where I know it would work.
py -3.8 -m pip install pygame
With py -3.8 you choose the version you want to use.
I had same problem when installing scikit-learn on PyCharm (2020.2.3) virtualenv with Python 3.9. I think v3.9 has some package installing problems. I solved this problem with removing v3.9 and installing v3.8.6.
I had same problem with installing matplotlib 😶 (windows 10, python 3.9.0)
I had same problem with installing matplotlib 😶 (windows 10, python 3.9.0)
For this try pip install -U setuptools pip install -U wheel, works for me. but know i have the same problem whit Sklearn. jajaj
I had same problem with installing matplotlib 😶 (windows 10, python 3.9.0)
How can you solve it? I have same your problem 🙁
Same problem man, what do I do? Do I install an older version of Python instead of the current 3.9 version? If so, are we sure that it’s gonna work, and it’ll not affect mysql database connections right?
I already solvet, let me search the solution again, I remember it was an issue whit the wheels tools El vie., 13 nov. 2020 14:50, Sukanyaaaaa notifications@github.com escribió:
…
Same problem man, what do I do? Do I install an older version of Python instead of the current 3.9 version? If so, are we sure that it’s gonna work, and it’ll not affect mysql database connections right? — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMZYPM72SPPHEM4QPVOXCYTSPVWXZANCNFSM4PGBPG6Q .
Did you find it? If so, pls do lemme know soon!
Command errored out with exit status 1:
I’m facing this type of problem in installing «sklearn» in python 3.9v.
Does anyone has a solution.
If the project doesn’t (yet) distribute binaries, and you can’t build from source yourself, then you’ll need to either wait for the project to get round to adding Python 3.9 binaries, or go back to Python 3.8 until the projects you rely on have updated.
Rollback pip to an older version:
python -m pip install pip==18.1
Install desired module:
pip install pyautogui
Update pip:
python -m pip install —upgrade pip
pip3 install —upgrade setuptools
pip3 install —upgrade pip
I had the same issue while installing biopython with py 3.9.1 and latest pip 20.2.3, installed py 3.8.7,everthing is running A ok now
ERROR: Command errored out with exit status 1: ‘c:usersprakashappdatalocalprogramspythonpython39python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersprakashAppDataLocalTemppip-install-74mk3fxttwisted_94e4bf42af5a43469b394965a3fdddd4setup.py’»‘»‘; file=’»‘»‘C:UsersprakashAppDataLocalTemppip-install-74mk3fxttwisted_94e4bf42af5a43469b394965a3fdddd4setup.py’»‘»‘;f=getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ install —record ‘C:UsersprakashAppDataLocalTemppip-record-_hpx2xitinstall-record.txt’ —single-version-externally-managed —compile —install-headers ‘c:usersprakashappdatalocalprogramspythonpython39IncludeTwisted’ Check the logs for full command output. How to solve this .
pip install geopandas
ERROR: Command errored out with exit status 1:
command: ‘C:Usersefasoanaconda3envsEmiwest007python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersefasoAppDataLocalTemppip-install-pxfs0zcufiona_fac8a86d26174f6e924bd60e763dd9d9setup.py’»‘»‘; file=’»‘»‘C:UsersefasoAppDataLocalTemppip-install-pxfs0zcufiona_fac8a86d26174f6e924bd60e763dd9d9setup.py’»‘»‘;f=getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ egg_info —egg-base ‘C:UsersefasoAppDataLocalTemppip-pip-egg-info-44d7sevx’
cwd: C:UsersefasoAppDataLocalTemppip-install-pxfs0zcufiona_fac8a86d26174f6e924bd60e763dd9d9
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
—————————————-
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: ‘C:Usersefasoanaconda3envsEmiwest007python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersefasoAppDataLocalTemppip-install-pxfs0zcufiona_fac8a86d26174f6e924bd60e763dd9d9setup.py’»‘»‘; file=’»‘»‘C:UsersefasoAppDataLocalTemppip-install-pxfs0zcufiona_fac8a86d26174f6e924bd60e763dd9d9setup.py’»‘»‘;f=getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ egg_info —egg-base ‘C:UsersefasoAppDataLocalTemppip-pip-egg-info-44d7sevx’
cwd: C:UsersefasoAppDataLocalTemppip-install-pxfs0zcufiona_fac8a86d26174f6e924bd60e763dd9d9
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I faced the same issue. I fixed it by install a older version of python (such as 3.7.0)
i had same problem while using
pip install jsonlib
Trying to install » sudo pip install git+https://www.github.com/keras-team/keras-contrib.git» on python version 3.8.5
it works for google colab but for the system it return the error:
» ERROR: Command errored out with exit status 1: git clone -q https://www.github.com/keras-team/keras-contrib.git /private/var/folders/ph/9nhz32091gx61hp41z_51y440000gn/T/pip-req-build-hai1na5_ Check the logs for full command output.»
Same problem for me while installing cffi
Both on Windows and Ubuntu
Same issue while installing robotframework-excellibrary
Python 3.7.7
Window 10
pip 20.0.2
I had same problem when installing scikit-learn on PyCharm (2020.2.3) virtualenv with Python 3.9. I think v3.9 has some package installing problems. I solved this problem with removing v3.9 and installing v3.8.6.
I did what you said, but I keep getting the same error, I tried it in 2 different versions, but it didn’t work, do you have any advice?
I had same problem when installing scikit-learn on PyCharm (2020.2.3) virtualenv with Python 3.9. I think v3.9 has some package installing problems. I solved this problem with removing v3.9 and installing v3.8.6.
I did what you said, but I keep getting the same error, I tried it in 2 different versions, but it didn’t work, do you have any advice?
Did you use this command:
pip install —pre -U scikit-learn
i had same problem while using
pip install jsonlib
Hey have you found solution ?? I am having same error while installing jsonlib
I had the same problem with
pip install web3
ERROR: Command errored out with exit status 1:
command: ‘c:program filespython39python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersKaran LukeAppDataLocalTemppip-install-j4x3wsl1cytoolz_34b18322c1c14506b2d054cb87909d16setup.py’»‘»‘; file=’»‘»‘C:UsersKaran LukeAppDataLocalTemppip-install-j4x3wsl1cytoolz_34b18322c1c14506b2d054cb87909d16setup.py’»‘»‘;f = getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()’»‘»‘);code = f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ install —record ‘C:UsersKaran LukeAppDataLocalTemppip-record-61l4rvt3install-record.txt’ —single-version-externally-managed —user —prefix= —compile —install-headers ‘C:UsersKaran LukeAppDataRoamingPythonPython39Includecytoolz’
cwd: C:UsersKaran LukeAppDataLocalTemppip-install-j4x3wsl1cytoolz_34b18322c1c14506b2d054cb87909d16
Complete output (54 lines):
[1/5] Cythonizing cytoolz/utils.pyx
[2/5] Cythonizing cytoolz/dicttoolz.pyx
[3/5] Cythonizing cytoolz/functoolz.pyx
[4/5] Cythonizing cytoolz/itertoolz.pyx
[5/5] Cythonizing cytoolz/recipes.pyx
running install
running build
running build_py
creating build
creating buildlib.win-amd64-3.9
creating buildlib.win-amd64-3.9cytoolz
copying cytoolzcompatibility.py -> buildlib.win-amd64-3.9cytoolz
copying cytoolzutils_test.py -> buildlib.win-amd64-3.9cytoolz
copying cytoolz_signatures.py -> buildlib.win-amd64-3.9cytoolz
copying cytoolz_version.py -> buildlib.win-amd64-3.9cytoolz
copying cytoolz_init_.py -> buildlib.win-amd64-3.9cytoolz
creating buildlib.win-amd64-3.9cytoolzcurried
copying cytoolzcurriedexceptions.py -> buildlib.win-amd64-3.9cytoolzcurried
copying cytoolzcurriedoperator.py -> buildlib.win-amd64-3.9cytoolzcurried
copying cytoolzcurried_init_.py -> buildlib.win-amd64-3.9cytoolzcurried
copying cytoolzdicttoolz.pyx -> buildlib.win-amd64-3.9cytoolz
copying cytoolzfunctoolz.pyx -> buildlib.win-amd64-3.9cytoolz
copying cytoolzitertoolz.pyx -> buildlib.win-amd64-3.9cytoolz
copying cytoolzrecipes.pyx -> buildlib.win-amd64-3.9cytoolz
copying cytoolzutils.pyx -> buildlib.win-amd64-3.9cytoolz
copying cytoolzcpython.pxd -> buildlib.win-amd64-3.9cytoolz
copying cytoolzdicttoolz.pxd -> buildlib.win-amd64-3.9cytoolz
copying cytoolzfunctoolz.pxd -> buildlib.win-amd64-3.9cytoolz
copying cytoolzitertoolz.pxd -> buildlib.win-amd64-3.9cytoolz
copying cytoolzrecipes.pxd -> buildlib.win-amd64-3.9cytoolz
copying cytoolzutils.pxd -> buildlib.win-amd64-3.9cytoolz
copying cytoolz_init_.pxd -> buildlib.win-amd64-3.9cytoolz
creating buildlib.win-amd64-3.9cytoolztests
I am having this error during installing dlib and face-recognition. (cmake is done)
Collecting dlib==19.18.0
Using cached dlib-19.18.0.tar.gz (3.1 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py): started
Building wheel for dlib (setup.py): finished with status ‘error’
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib: started
Running setup.py install for dlib: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: ‘C:UsersHaiderAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py’»‘»‘; file=’»‘»‘C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py’»‘»‘;f = getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()’»‘»‘);code = f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ bdist_wheel -d ‘C:UsersHaiderAppDataLocalTemppip-wheel-usp4krfi’
cwd: C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9
Complete output (55 lines):
running bdist_wheel
running build
running build_py
package init file ‘dlib_init_.py’ not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Traceback (most recent call last):
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 120, in get_cmake_version
out = subprocess.check_output([‘cmake’, ‘—version’])
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 505, in run
with Popen(*popenargs, **kwargs) as process:
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libsubprocess.py», line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File «», line 1, in
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 223, in
setup(
File «C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39site-packagessetuptools_init_.py», line 153, in setup
return distutils.core.setup(attrs)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscore.py», line 148, in setup
dist.run_commands()
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 966, in run_commands
self.run_command(cmd)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:UsersHaiderAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39site-packageswheelbdist_wheel.py», line 299, in run
self.run_command(‘build’)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscommandbuild.py», line 135, in run
self.run_command(cmd_name)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0libdistutilsdist.py», line 985, in run_command
cmd_obj.run()
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 129, in run
cmake_version = self.get_cmake_version()
File «C:UsersHaiderAppDataLocalTemppip-install-57j0zzf2dlib_c4a81041578145ff85c50fb1f74112f9setup.py», line 122, in get_cmake_version
raise RuntimeError(«n*****************************************************************n» +
RuntimeError:
CMake must be installed to build the following extensions: dlib
Источник




























