zoukankan      html  css  js  c++  java
  • Could not find the following Boost libraries: boost_python3

    安装Boost.NumPy时报错:

    CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1794 (message):
      Unable to find the requested Boost libraries.
    
      Boost version: 1.61.0
    
      Boost include path: /usr/include
    
      Could not find the following Boost libraries:
    
              boost_python3
    
      Some (but not all) of the required Boost libraries were found.  You may
      need to install these additional Boost libraries.  Alternatively, set
      BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
      to the location of Boost.
    Call Stack (most recent call first):
      ycm/CMakeLists.txt:202 (find_package)
    
    
    Using external libclang: /usr/lib64/libclang.so.3.8
    -- Found PythonInterp: /usr/bin/python3.5 (found version "3.5.2") 
    -- Configuring incomplete, errors occurred!
    See also "/home/bstaletic/ycmd/CMakeFiles/CMakeOutput.log".
    See also "/home/bstaletic/ycmd/CMakeFiles/CMakeError.log".
    其实是boost安装的时候Python的环境变量不是python3.5
    把环境变量改成python3.5后,再安装Boost,然后安装boost_numpy就不报这个错了。
    更改环境变量也很简单。
    ln -s Python3.5 /usr/bin/python
  • 相关阅读:
    JVM对象
    JVM如何加载Java类
    JVM内存模型
    JVM的直接内存
    docker run命令
    JVM调优-CPU占用过高
    JVM调优工具
    Java爬虫爬取京东商品信息
    Linux下设置Tomcat虚拟路径
    Java设计模式之-------->"代理模式"
  • 原文地址:https://www.cnblogs.com/whu-zeng/p/6208976.html
Copyright © 2011-2022 走看看