1. 程式人生 > >linux7中python ImportError: No module named pymc 處理

linux7中python ImportError: No module named pymc 處理

簡單的 com RoCE AS install size pack otrs lap

linux7中python ImportError: No module named pymc 處理方法

  1. 系統環境
    #cat /etc/redhat-release
    CentOS Linux release 7.2.1511 (Core)
    #python -V
    Python 2.7.5
  2. pip安裝pymc報錯
    #報錯內容如下:
    error: lapack/double/dpotrs.f: No such file or directory
    技術分享圖片
  3. 解決方法
    (1)最簡單的方式--pip
    #從上面報錯內容可知,缺少庫:lapack-devel
    yum install -y lapack-devel
    #再使用pip安裝pymc
    pip install pymc
    #查看下pymc的版本
    pip list |grep pymc
    pymc                         2.3.6
    #python中import
    python
    >>> import pymc

(2)使用Anaconda

linux7中python ImportError: No module named pymc 處理