The CCXT library is used to connect and trade with cryptocurrency / altcoin exchanges and payment processing services worldwide. It provides quick access to market data for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, webshop integration and related software engineering.
安装过程中遇到 pycares 异常
building 'pycares._core' extension
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -arch x86_64 -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c src/pycares.c -o build/temp.macosx-10.6-intel-3.6/src/pycares.o
In file included from src/pycares.c:2:
In file included from src/pycares.h:7:
/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/Python.h:30:10: warning: non-portable path to file '<String.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include <string.h>
^~~~~~~~~~
<String.h>
In file included from src/pycares.c:2:
In file included from src/pycares.h:7:
In file included from /Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/Python.h:30:
/usr/local/include/string.h:25:10: fatal error: 'plist/Node.h' file not found
#include <plist/Node.h>
^~~~~~~~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
解决
brew doctor 2> doctor.txt
sed 's/^ //g' doctor.txt | tr "\n" "\0" | xargs -0 rm
使用 pyenv 安装 3.6.3 问题记录:
Issue #993 · pyenv/pyenv
brew install pyenv
doesn't help.
In fact, I install openssl
and pyenv
both from homebrew.
CFLAGS="-I$(brew --prefix openssl)/include" LDFLAGS="-L$(brew --prefix openssl)/lib" pyenv install 3.6.3
does fix this issue.
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于