pip install が出来ずに困っています.
形態素解析ツールのSudachiをインストールしようとしています.
pip install SudichiPy を実行したところ,以下のようなエラーメッセージが出ました.
エラーメッセージ
Installing collected packages: sortedcontainers, Cython, dartsclone, SudachiPy Running setup.py install for dartsclone ... error ERROR: Command errored out with exit status 1: command: /Users/ユーザ名/.pyenv/versions/anaconda3-5.1.0/envs/仮想環境名/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-install-aod9fsz7/dartsclone/setup.py'"'"'; __file__='"'"'/private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-install-aod9fsz7/dartsclone/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-record-y_5a6o_9/install-record.txt --single-version-externally-managed --compile cwd: /private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-install-aod9fsz7/dartsclone/ Complete output (25 lines): running install running build running build_py creating build creating build/lib.macosx-10.7-x86_64-3.6 creating build/lib.macosx-10.7-x86_64-3.6/dartsclone copying dartsclone/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/dartsclone running build_ext cythoning dartsclone/_dartsclone.pyx to dartsclone/_dartsclone.cpp /Users/ユーザ名/.pyenv/versions/anaconda3-5.1.0/envs/仮想環境名/lib/python3.6/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-install-aod9fsz7/dartsclone/dartsclone/_dartsclone.pxd tree = Parsing.p_module(s, pxd, full_module_name) warning: dartsclone/_dartsclone.pyx:119:49: local variable 'result' referenced before assignment warning: dartsclone/_dartsclone.pyx:120:15: local variable 'result' referenced before assignment building 'dartsclone._dartsclone' extension creating build/temp.macosx-10.7-x86_64-3.6 creating build/temp.macosx-10.7-x86_64-3.6/dartsclone creating build/temp.macosx-10.7-x86_64-3.6/csrc creating build/temp.macosx-10.7-x86_64-3.6/csrc/src gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/ユーザ名/.pyenv/versions/anaconda3-5.1.0/envs/仮想環境名/include -arch x86_64 -I/Users/ユーザ名/.pyenv/versions/anaconda3-5.1.0/envs/仮想環境名/include -arch x86_64 -I./csrc/include -I/Users/ユーザ名/.pyenv/versions/anaconda3-5.1.0/envs/仮想環境名/include/python3.6m -c dartsclone/_dartsclone.cpp -o build/temp.macosx-10.7-x86_64-3.6/dartsclone/_dartsclone.o warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] dartsclone/_dartsclone.cpp:610:10: fatal error: 'ios' file not found #include "ios" ^~~~~ 1 warning and 1 error generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Users/ユーザ名/.pyenv/versions/anaconda3-5.1.0/envs/仮想環境名/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-install-aod9fsz7/dartsclone/setup.py'"'"'; __file__='"'"'/private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-install-aod9fsz7/dartsclone/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/81/m106tnls6k1dfkcc0y7q67480000gn/T/pip-record-y_5a6o_9/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
試したこと
以下の記事を参考にxcodeのセットアップツールをインストールしました.
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
補足情報(FW/ツールのバージョンなど)
macOS Mojave(10.14.6)
Python3.6
anaconda3.5.1.0
pyenv1.2.11
pip19.3.1
Xcode11.2
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。