在Windows 10上构建Caffe时如何解决“找不到MSVC版本= 1916和Python版本= 2.7的URL”

时间:2019-07-14 17:12:31

标签: caffe building

我在Windows 10上构建Caffe时遇到问题。我按照https://github.com/BVLC/caffe/tree/windows上的说明运行了build_win.cmd。但是现在它给了我一个错误,我真的不知道该如何解决。

INFO: ============================================================
INFO: Summary:
INFO: ============================================================
INFO: MSVC_VERSION               = 14
INFO: WITH_NINJA                 = 1
INFO: CMAKE_GENERATOR            = "Ninja"
INFO: CPU_ONLY                   = 0
INFO: CUDA_ARCH_NAME             = Auto
INFO: CMAKE_CONFIG               = Release
INFO: USE_NCCL                   = 0
INFO: CMAKE_BUILD_SHARED_LIBS    = 0
INFO: PYTHON_VERSION             = 2
INFO: BUILD_PYTHON               = 1
INFO: BUILD_PYTHON_LAYER         = 1
INFO: BUILD_MATLAB               = 0
INFO: PYTHON_EXE                 = "python"
INFO: RUN_TESTS                  = 0
INFO: RUN_LINT                   = 0
INFO: RUN_INSTALL                = 0
INFO: ============================================================
Das System kann den angegebenen Pfad nicht finden.
CMake Warning (dev) at cmake/Misc.cmake:32 (set):
  implicitly converting 'BOOLEAN' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:33 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/WindowsDownloadPrebuiltDependencies.cmake:40 (message):
  Could not find url for MSVC version = 1916 and Python version = 2.7.
Call Stack (most recent call first):
  CMakeLists.txt:77 (include)


-- Configuring incomplete, errors occurred!

我正在使用Visual Studio 2017,并下载了Visual Studio 2015的构建工具。此外,我没有在build_win.cmd中进行任何更改。

希望有人能帮助我。

我尝试使用caffe-builder构建caffe,并且已经构建了caffe-builder,但是现在不知道如何构建caffe。

0 个答案:

没有答案