![]() If youĪre getting this error it means you have not installed Visual C++. ![]() You must use Visual Studio to build a python extension on windows. ![]() Invoking CMake setup: 'cmake C:\Users\Admin\AppData\Local\Temp\pip-install-fi_6w9v\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Admin\AppData\Local\Temp\pip-install-fi_6w9v\dlib\build\lib.win-amd64-3.8 -DPYTHON_EXECUTABLE=c:\users\admin\appdata\local\programs\python\python38\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Admin\AppData\Local\Temp\pip-install-fi_6w9v\dlib\build\lib.win-amd64-3.8 -A 圆4'ĬMake Error at CMakeLists.txt:5 (message): Package init file 'tools\python\dlib\_init_.py' not found (or not a regular file)īuilding extension for Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) ERROR: Command errored out with exit status 1:Ĭommand: 'c:\users\admin\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize sys.argv = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-fi_6w9v\\dlib\\setup.py'"'"' _file_='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-fi_6w9v\\dlib\\setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)(_file_) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' install -record 'C:\Users\Admin\AppData\Local\Temp\pip-record-f5b3pskr\install-record.txt' -single-version-externally-managed -compile -install-headers 'c:\users\admin\appdata\local\programs\python\python38\Include\dlib'Ĭwd: C:\Users\Admin\AppData\Local\Temp\pip-install-fi_6w9v\dlib\ When I install face_recognition in vs code using pip I got the following error, I have also tried to install dlib before installing face_recognition.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |