Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 安装dlib时无法运行msbuild_Python - Fatal编程技术网

Python 安装dlib时无法运行msbuild

Python 安装dlib时无法运行msbuild,python,Python,我尝试安装dlib:python安装dlib cmake安装使用:python安装cmake(cmake路径也设置为系统变量) visual studio 14 2015已安装在我的系统中。 系统为:Windows-6.1.7601-AMD64 Building wheel for dlib (setup.py) ... error ERROR: Complete output from command 'c:\personal\study material\python\pyth

我尝试安装dlib:
python安装dlib

cmake安装使用:
python安装cmake
(cmake路径也设置为系统变量)
visual studio 14 2015已安装在我的系统中。
系统为:Windows-6.1.7601-AMD64

  Building wheel for dlib (setup.py) ... error
  ERROR: Complete output from command 'c:\personal\study material\python\python.

  -- Building for: Visual Studio 14 2015
  CMake Error in CMakeLists.txt:    
Failed to run MSBuild command:

      C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe

    to get the value of VCTargetsPath:

      Microsoft (R) Build Engine version 14.0.25420.1
      Copyright (C) Microsoft Corporation. All rights reserved.

      Build started 02-08-2019 14:37:03.
      Project "C:\Users\user_name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\bu
ild\temp.win-amd64-3.7\Release\CMakeFiles\3.14.4\VCTargetsPath.vcxproj" on node
1 (default targets).
      C:\Users\user_name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\build\temp.
win-amd64-3.7\Release\CMakeFiles\3.14.4\VCTargetsPath.vcxproj(14,2): error MSB40
19: The imported project "C:\Personal\Study Material\Python\dlib-19.6\build\CMak
eFiles\3.14.4\Microsoft.Cpp.Default.props" was not found. Confirm that the path
in the <Import> declaration is correct, and that the file exists on disk.
      Done Building Project "C:\Users\user_name\AppData\Local\Temp\pip-install-xq
z7oflh\dlib\build\temp.win-amd64-3.7\Release\CMakeFiles\3.14.4\VCTargetsPath.vcx
proj" (default targets) -- FAILED.

      Build FAILED.

      "C:\Users\user_name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\build\temp
.win-amd64-3.7\Release\CMakeFiles\3.14.4\VCTargetsPath.vcxproj" (default target)
 (1) ->
        C:\Users\user_name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\build\tem
p.win-amd64-3.7\Release\CMakeFiles\3.14.4\VCTargetsPath.vcxproj(14,2): error MSB
4019: The imported project "C:\Personal\Study Material\Python\dlib-19.6\build\CM
akeFiles\3.14.4\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h in the <Import> declaration is correct, and that the file exists on disk.

          0 Warning(s)
          1 Error(s)

      Time Elapsed 00:00:00.28


    Exit code: 1



  -- Configuring incomplete, errors occurred!
  See also "C:/Users/user_name/AppData/Local/Temp/pip-install-xqz7oflh/dlib/build
/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log".
为dlib构建控制盘(setup.py)。。。错误
错误:从命令“c:\personal\study material\python\python”完成输出。
--建筑:Visual Studio 14 2015
CMakeLists.txt中的CMake错误:
无法运行MSBuild命令:
C:/ProgramFiles(x86)/MSBuild/14.0/bin/MSBuild.exe
要获取VCTargetsPath的值,请执行以下操作:
Microsoft(R)生成引擎版本14.0.25420.1
版权所有(C)微软公司。版权所有。
建造开始于2019年8月2日14:37:03。
项目“C:\Users\user\u name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\bu
节点上的ild\temp.win-amd64-3.7\Release\cmakfiles\3.14.4\VCTargetsPath.vcxproj
1(默认目标)。
C:\Users\user\u name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\build\Temp。
win-amd64-3.7\Release\cmakfiles\3.14.4\VCTargetsPath.vcxproj(14,2):错误MSB40
19:导入的项目“C:\Personal\Study Material\Python\dlib-19.6\build\CMak”
未找到“eFiles\3.14.4\Microsoft.Cpp.Default.props”。确认路径
中的声明是正确的,并且该文件存在于磁盘上。
已完成生成项目“C:\Users\user\u name\AppData\Local\Temp\pip install xq”
z7oflh\dlib\build\temp.win-amd64-3.7\Release\CMakeFiles\3.14.4\VCTargetsPath.vcx
proj“(默认目标)--失败。
生成失败。
“C:\Users\user\u name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\build\Temp
.win-amd64-3.7\Release\cmakfiles\3.14.4\VCTargetsPath.vcxproj“(默认目标)
(1) ->
C:\Users\user\u name\AppData\Local\Temp\pip-install-xqz7oflh\dlib\build\tem
p、 win-amd64-3.7\Release\cmakfiles\3.14.4\VCTargetsPath.vcxproj(14,2):错误MSB
4019:导入的项目“C:\Personal\Study Material\Python\dlib-19.6\build\CM”
找不到“akeFiles\3.14.4\Microsoft.Cpp.Default.props”。确认pat
声明中的h是正确的,并且文件存在于磁盘上。
0个警告
1个错误
时间流逝00:00:00.28
退出代码:1
--配置不完整,出现错误!
另请参见“C:/Users/user_name/AppData/Local/Temp/pip-install-xqz7oflh/dlib/build
/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log”。

如果您能给我们一点解释(环境、过程),而不仅仅是发布您的错误,那就太好了。我尝试安装dlib:python安装dlib cmake安装使用:python安装cmake(cmake路径也设置为system var)visual studio 14 2015已安装在我的系统中。系统是:Windows-6.1.7601-AMD64您可以提出问题并在其中添加信息。如果您能给我们一点解释(环境、过程),而不仅仅是发布错误,那就太好了。我尝试安装dlib:python安装dlib cmake安装使用:python安装cmake(cmake路径也设置为system var)visual studio 14 2015已安装在我的系统中。系统是:Windows-6.1.7601-AMD64您可以在那里提问并添加信息