Cmake无法找到python-six库

问题描述 投票:0回答:1

我正在尝试安装Fbthrift,但出现此错误:

-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   context
--   filesystem
--   program_options
--   regex
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- Found folly: /usr/local
-- Found YARPL: /usr/local
-- Found rsocket: /usr/local
-- Found fizz: /usr/local
-- Found wangle: /usr/local
-- Found Zstd: /usr/lib/x86_64-linux-gnu/libz.so  
-- ZLIB: /usr/include
-- Found Zstd: /usr/local/lib/libzstd.so  
-- ZSTD: /usr/local/include
CMake Warning at CMakeLists.txt:144 (find_package):

通过在CMAKE_MODULE_PATH中不提供“ Findpython-six.cmake”,项目已要求CMake查找由以下人员提供的软件包配置文件:“ python-six”,但是CMake找不到一个。

  Could not find a package configuration file provided by "python-six" with
  any of the following names:

    python-sixConfig.cmake
    python-six-config.cmake

  Add the installation prefix of "python-six" to CMAKE_PREFIX_PATH or set
  "python-six_DIR" to a directory containing one of the above files.  If
  "python-six" provides a separate development package or SDK, be sure it has
  been installed.
-- Python dependencies not found, will not build thrift/lib/py
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sarath/lib/fbthrift/_build

我已经按照官方FbThrift页中的说明安装了所有依赖项我还安装了cuda 8.0和cuDNN 5.0以及Torch 7及其依赖项。如果我忽略此错误并继续进行THPP安装,它将显示THRIFT_LIBRARY missing并中止安装。如何解决这个问题?

makefile cmake ubuntu-16.04 thrift
1个回答
0
投票

已通过在Ubuntu 14.02 LTS中安装所有依赖关系解决了此问题。

© www.soinside.com 2019 - 2024. All rights reserved.