CentOS 6.5にpipでpython-twitterを入れようとしたら、依存パッケージのsimplejsonのインストールでこんなwarningが出ていました
    ***************************************************************************
    WARNING: The C extension could not be compiled, speedups are not enabled.
    Failure information, if any, is above.
    I'm retrying the build without the C extension now.
    ***************************************************************************
    ***************************************************************************
    WARNING: The C extension could not be compiled, speedups are not enabled.
    Plain-Python installation succeeded.
    ***************************************************************************
調べてみるとpython-develパッケージが足りてなかったようです
(参考:python – "The C extension could not be compiled’ error. – while installing Flask – Stack Overflow)
yum install python-devel
その後、C拡張を使わずインストールされていたsimpjsonを再インストールしました。
pip install simplejson --force-reinstall -I
 
  
  
  
  
コメント