zoukankan      html  css  js  c++  java
  • CentOS7 Python3下安装 TensorToolbox 1.0.22时的一些错误及解决办法

    CentOS7 Python3下安装 TensorToolbox 1.0.22

    (python3) [jiangshan@localhost ~]$ pip install TensorToolbox

    error: command 'gcc' failed with exit status 1
    ----------------------------------------
    ERROR: Failed building wheel for SpectralToolbox

    error: extension 'orthpol_light' has Fortran sources but no Fortran compiler found
    ----------------------------------------
    ERROR: Failed building wheel for orthpol-light

    building 'orthpol_light' extension
    error: extension 'orthpol_light' has Fortran sources but no Fortran compiler found

    (python3) [jiangshan@localhost ~]$ sudo yum -y install gcc
    (python3) [jiangshan@localhost ~]$ sudo yum install glibc-headers
    (python3) [jiangshan@localhost ~]$ sudo yum install gcc-c++
    (python3) [jiangshan@localhost ~]$ sudo yum install gcc-gfortran
    再次安装
    (python3) [jiangshan@localhost ~]$ pip install TensorToolbox
    Successfully built SpectralToolbox orthpol-light
    Installing collected packages: orthpol-light, SpectralToolbox, UQToolbox, TensorToolbox
    Successfully installed SpectralToolbox-1.0.12 TensorToolbox-1.0.22 UQToolbox-1.0.4 orthpol-light-1.0.1

  • 相关阅读:
    一周随笔--15.10.06
    KVC/KVO总结
    一周随笔--15.9.28
    一周随笔--15.9.21
    CocoaPods使用中的invalid byte sequence in US-ASCII错误
    自定义TabBar
    FMDB配合sqlite使用
    常用第三方库
    LLDB编译器命令
    coreData
  • 原文地址:https://www.cnblogs.com/jeshy/p/11393976.html
Copyright © 2011-2022 走看看