を高く評価gccのエラーを作成します。私はこれが何を意味するのか理解していないですインストールTA-libには、どのような援助が私のMac上でグローバルパッケージとしてのTa-libがインストールしようとしたとき、私はgccのエラーを取得しています
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I//anaconda/include -arch x86_64 -I//anaconda/include -arch x86_64 -I//anaconda/lib/python3.6/site-packages/numpy/core/include -I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I//anaconda/include/python3.6m -c talib/common.c -o build/temp.macosx-10.7-x86_64-3.6/talib/common.o
talib/common.c:242:10: fatal error: 'ta-lib/ta_defs.h' file not found
#include "ta-lib/ta_defs.h"
^
1 error generated.
error: command 'gcc' failed with exit status 1
:
は、私は以下のエラーを取得しますか? pip install Ta-libパッケージにファイルがありませんか?それは意味をなさないだろうが、私のUbuntuサーバーにはうまくインストールされ、私のMacに問題があるだけです。 UbuntuはAnacondaと同じバージョンのPythonも実行しています。以下私のgccのバージョン:
➜ ~ which gcc
/usr/bin/gcc
➜ ~ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
以下
私のPythonのインストール情報:
➜ ~ which python
/anaconda/bin/python
➜ ~ python --version
Python 3.6.1 :: Anaconda custom (x86_64)
私は実際にTA-libには、私はほとんどのとそれを使用して終了とグローバルcondaパッケージとしてインストール好みます私の手帳はかなり特別な仕事です。
小規模なアップデートは、これはPythonのバージョンの問題のようです。 Python27xにインストールするconda envはうまく動作します。パッケージはPython3をサポートするはずです... –