系统信息
OS平台和发行版(例如,Linux Ubuntu 16.04): Windows 10
从(源代码或二进制代码)安装的TensorFlow:来自主分支的源
Python版本: 3.6.2
Bazel版本(如果从源代码编译): cmake 3.9.4
CUDA / cuDNN版本: CUDA 9.0 / cuDNN 7
GPU型号和内存: GTX 1080
重现的确切命令:
MSBuild /filelogger /m:4 /p:Configuration=Release tf_python_build_pip_package.vcxproj
我一直在尝试构建TensorFlow pip包。出于某种原因,虽然我已经验证了构建能够克隆其他git repos,但jsoncpp似乎正在杀死我的构建。
42>CustomBuild: Creating directories for 'jsoncpp'
42>CustomBuild: Performing download step (git clone) for 'jsoncpp'
42>CustomBuild: fatal: could not create work tree dir 'jsoncpp': Permission denied
42>CustomBuild: fatal: could not create work tree dir 'jsoncpp': Permission denied
42>CustomBuild: fatal: could not create work tree dir 'jsoncpp': Permission denied
42>CustomBuild: -- Had to git clone more than once: 3 times.
42>CustomBuild: CMake Error at C:/Users/Bryce/Documents/Programming/os_clones/tensorflow/tensorflow/contrib/cmake/build/jsoncpp/tmp/jsoncpp-gitclone.cmake:66 (message): Failed to clone repository: 'https://github.com/open-source-parsers/jsoncpp.git'
后来,
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Users\Bryce\Documents\Programming\os_clones\tensorflow\tensorflow\contrib\cmake\build\jsoncpp.vcxproj]
关于可能出现什么问题的任何想法?
答案 0 :(得分:0)
你是否处于管理员cmd模式,似乎你没有写入权限,你试过吗?