C:\Users\Дом\Desktop\Py\face\face_recognition-master>pip install -r requirements.txt
Requirement already satisfied: face_recognition_models in c:\users\дом\appdata\local\programs\python\python38\lib\site-packages (from -r requirements.txt (line 1)) (0.3.0)
Collecting Click>=6.0
Using cached click-8.0.1-py3-none-any.whl (97 kB)
Collecting dlib>=19.3.0
Using cached dlib-19.22.0.tar.gz (7.4 MB)
Requirement already satisfied: numpy in c:\users\дом\appdata\local\programs\python\python38\lib\site-packages (from -r requirements.txt (line 4)) (1.21.0)
Requirement already satisfied: Pillow in c:\users\дом\appdata\local\programs\python\python38\lib\site-packages (from -r requirements.txt (line 5)) (8.3.1)
Requirement already satisfied: scipy>=0.17.0 in c:\users\дом\appdata\local\programs\python\python38\lib\site-packages (from -r requirements.txt (line 6)) (1.7.1)
Requirement already satisfied: colorama in c:\users\дом\appdata\local\programs\python\python38\lib\site-packages (from Click>=6.0->-r requirements.txt (line 2)) (0.4.4)
Using legacy 'setup.py install' for dlib, since package 'wheel' is not installed.
Installing collected packages: dlib, Click
Running setup.py install for dlib ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\дом\appdata\local\programs\python\python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Дом\\AppData\\Local\\Temp\\pip-install-k6_lz243\\dlib_f83fd7db324a49acbd2b470a94f051cd\\setup.py'"'"'; __file__='"'"'C:\\Users\\Дом\\AppData\\Local\\Temp\\pip-install-k6_lz243\\dlib_f83fd7db324a49acbd2b470a94f051cd\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Дом\AppData\Local\Temp\pip-record-hz2i3nrl\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\дом\appdata\local\programs\python\python38\Include\dlib'
cwd: C:\Users\Дом\AppData\Local\Temp\pip-install-k6_lz243\dlib_f83fd7db324a49acbd2b470a94f051cd\
Complete output (60 lines):
running install
running build
running build_py
package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\Дом\AppData\Local\Temp\pip-install-k6_lz243\dlib_f83fd7db324a49acbd2b470a94f051cd\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Дом\AppData\Local\Temp\pip-install-k6_lz243\dlib_f83fd7db324a49acbd2b470a94f051cd\build\lib.win-amd64-3.8 -DPYTHON_EXECUTABLE=c:\users\дом\appdata\local\programs\python\python38\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Дом\AppData\Local\Temp\pip-install-k6_lz243\dlib_f83fd7db324a49acbd2b470a94f051cd\build\lib.win-amd64-3.8 -A x64'
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:5 (message):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You must use Visual Studio to build a python extension on windows. If you
are getting this error it means you have not installed Visual C++. Note
that there are many flavors of Visual Studio, like Visual Studio for C#
development. You need to install Visual Studio for C++.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Дом\AppData\Local\Temp\pip-install-k6_lz243\dlib_f83fd7db324a49acbd2b470a94f051cd\setup.py", line 222, in <module>
setup(
File "c:\users\дом\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\дом\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\дом\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Дом\AppData\Local\Temp\pip-install-k6_lz243\dlib_f83fd7db324a49acbd2b470a94f051cd\setup.py", line 134, in run
self.build_extension(ext)
File "C:\Users\Дом\AppData\Local\Temp\pip-install-k6_lz243\dlib_f83fd7db324a49acbd2b470a94f051cd\setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "c:\users\дом\appdata\local\programs\python\python38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\Дом\\AppData\\Local\\Temp\\pip-install-k6_lz243\\dlib_f83fd7db324a49acbd2b470a94f051cd\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\Дом\\AppData\\Local\\Temp\\pip-install-k6_lz243\\dlib_f83fd7db324a49acbd2b470a94f051cd\\build\\lib.win-amd64-3.8', '-DPYTHON_EXECUTABLE=c:\\users\\дом\\appdata\\local\\programs\\python\\python38\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\Дом\\AppData\\Local\\Temp\\pip-install-k6_lz243\\dlib_f83fd7db324a49acbd2b470a94f051cd\\build\\lib.win-amd64-3.8', '-A', 'x64']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\дом\appdata\local\programs\python\python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Дом\\AppData\\Local\\Temp\\pip-install-k6_lz243\\dlib_f83fd7db324a49acbd2b470a94f051cd\\setup.py'"'"'; __file__='"'"'C:\\Users\\Дом\\AppData\\Local\\Temp\\pip-install-k6_lz243\\dlib_f83fd7db324a49acbd2b470a94f051cd\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Дом\AppData\Local\Temp\pip-record-hz2i3nrl\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\дом\appdata\local\programs\python\python38\Include\dlib' Check the logs for full command output.
WARNING: You are using pip version 21.1.3; however, version 21.2.2 is available.
You should consider upgrading via the 'c:\users\дом\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip' command.
C:\Users\Дом\Desktop\Py\face\face_recognition-master>
C:\Users\Дом\Desktop\Py>pip install -U pyscreeze
Requirement already satisfied: pyscreeze in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (0.1.26)
Collecting pyscreeze
Using cached PyScreeze-0.1.27.tar.gz (25 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\дом\appdata\local\programs\python\python39\python.exe' 'c:\users\дом\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\E786~1\AppData\Local\Temp\tmpqlndlih3'
cwd: C:\Users\Дом\AppData\Local\Temp\pip-install-1juhoz33\pyscreeze_fc5cc8dc511a4b0f958fd7fd135de42a
Complete output (19 lines):
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xe4 in position 0: invalid continuation byte (sitecustomize.py, line 7)
c:\users\дом\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'requires_python'
warnings.warn(msg)
running dist_info
creating C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info
writing C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info\PKG-INFO
writing dependency_links to C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info\dependency_links.txt
writing requirements to C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info\requires.txt
writing top-level names to C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info\top_level.txt
writing manifest file 'C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info\SOURCES.txt'
adding license file 'LICENSE.txt' (matched pattern 'LICEN[CS]E*')
adding license file 'AUTHORS.txt' (matched pattern 'AUTHORS*')
reading manifest file 'C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.py' under directory 'pyautogui'
writing manifest file 'C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.egg-info\SOURCES.txt'
creating 'C:\Users\Дом\AppData\Local\Temp\pip-modern-metadata-j4atkr0m\PyScreeze.dist-info'
error: invalid command 'bdist_wheel'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/4b/64/1087b4f2c1c5ca14e6ceba7d1e116c494629de36b9882cf014ae02814ce5/PyScreeze-0.1.27.tar.gz#sha256=cba2f264fe4b6c70510061cb2ba6e1da0e3bfecfdbe8a3b2cd6305a2afda9e6b (from https://pypi.org/simple/pyscreeze/). Command errored out with exit status 1: 'c:\users\дом\appdata\local\programs\python\python39\python.exe' 'c:\users\дом\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\E786~1\AppData\Local\Temp\tmpqlndlih3' Check the logs for full command output.
Requirement already satisfied: PyScreeze in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (0.1.26)
Traceback (most recent call last):
File "C:\Users\Дом\Desktop\Py\index.py", line 1, in <module>
import pyautogui
File "C:\Users\Дом\AppData\Local\Programs\Python\Python39\lib\site-packages\pyautogui\__init__.py", line 221, in <module>
locateOnWindow.__doc__ = pyscreeze.locateOnWindow.__doc__
AttributeError: module 'pyscreeze' has no attribute 'locateOnWindow'
Microsoft Windows [Version 10.0.17763.2061]
(c) Корпорация Майкрософт (Microsoft Corporation), 2018. Все права защищены.
C:\Users\Дом\Desktop\Py>index.py
C:\Users\Дом\Desktop\Py>index.py
C:\Users\Дом\Desktop\Py>python index.py
Traceback (most recent call last):
File "C:\Users\Дом\Desktop\Py\index.py", line 1, in <module>
import pyautogui as pg
File "C:\Users\Дом\AppData\Local\Programs\Python\Python39\lib\site-packages\pyautogui\__init__.py", line 221, in <module>
locateOnWindow.__doc__ = pyscreeze.locateOnWindow.__doc__
AttributeError: module 'pyscreeze' has no attribute 'locateOnWindow'
C:\Users\Дом\Desktop\Py>
import pyautogui as pg
pg.move(50, 50)
python pcman.py
Traceback (most recent call last):
File "C:\Users\Дом\Desktop\python\pcman.py", line 1, in <module>
import pyautogui as pg
File "C:\Users\Дом\AppData\Local\Programs\Python\Python39\lib\site-packages\pyautogui\__init__.py", line 221, in <module>
locateOnWindow.__doc__ = pyscreeze.locateOnWindow.__doc__
AttributeError: module 'pyscreeze' has no attribute 'locateOnWindow'
pip install pyautogui
Requirement already satisfied: pyautogui in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (0.9.53)
Requirement already satisfied: pymsgbox in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (from pyautogui) (1.0.7)
Requirement already satisfied: PyTweening>=1.0.1 in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (from pyautogui) (1.0.3)
Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (from pyautogui) (0.1.26)
Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (from pyautogui) (0.0.9)
Requirement already satisfied: mouseinfo in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (from pyautogui) (0.1.3)
Requirement already satisfied: pyrect in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (from pygetwindow>=0.0.5->pyautogui) (0.1.4)
Requirement already satisfied: pyperclip in c:\users\дом\appdata\local\programs\python\python39\lib\site-packages (from mouseinfo->pyautogui) (1.8.2)
WARNING: You are using pip version 21.1.1; however, version 21.1.3 is available.
You should consider upgrading via the 'c:\users\дом\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.