LoginSignup
0
0

More than 3 years have passed since last update.

pipでmojimojiがインストールできない Mac Catalina 10.15.4

Posted at

環境

Mac OS X 10.15.4
Python 3.7
pip 20.0.2

問題

mojimojiのインストール中に以下のエラーが出て色々試したのですが、うまく行かなかったのでメモ。(1) ソースからsetup.pyを使う方法が載っていたのですが、上の環境下ではうまくいきませんでした。結局gccではなくclangでインストールすればうまくいきました。

エラー

(エラー省略) 
#include_next <limits.h>  /* recurse down to the real one */
compilation terminated.
error: command 'g++' failed with exit status 1

解決

CC=clang pip install mojimoji

参照URL

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0