我正在尝试安装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--6. CMake”,这个项目要求CMake找到由“python--6”提供的包配置文件,但是CMake没有找到一个。 无法找到由“python-6”提供的包配置文件,其名称如下:Python-6Config.cmakepython-6-config.cmake将“python-6”的安装前缀添加到CMAKE_PREFIX_PATH中,或者将“python-6-dIR”设置为包含上述文件之一的目录。如果“python--6”提供了一个单独的开发包或SDK,请确保它已经安装。
-- 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页面中提到的所有依赖项,我还安装了Cuda8.0和cuDNN 5.0以及Torch 7及其依赖项。如果忽略此错误并继续进行THPP安装,它将显示THRIFT_LIBRARY缺少并中止安装。如何解决这个问题?
发布于 2019-12-31 11:51:03
通过在Ubuntu14.02LTS中安装所有依赖项,该问题已经得到解决。
https://stackoverflow.com/questions/58669530
复制相似问题