前提・実現したいこと
ccxtを使用してbitmexでの取引をしたいと考えてます。まずAnaconda3(64-bit)はインストールできたのですが、ccxtライブラリがうまくインストールできません。素人なので、原因がわからず困ってしまっています。どなたか何が原因か、どうすれば正常にccxtがインストールされるかご教示いただければ幸いです。
###発生している問題・エラーメッセージ
「pip install ccxt」を入力し、インストールが開始されるのですが、途中でエラー?(赤文字)が出てきて、うまくインストールできないようです。長くて申し訳ありませんが、以下該当メッセージです。
エラーメッセージ
Failed building wheel for lru-dict
Running setup.py clean for lru-dict
Failed to build lru-dict
distributed 1.21.8 requires msgpack, which is not installed.
eth-utils 1.2.2 has requirement eth-typing<2.0.0,>=1.3.0, but you'll have eth-typing 2.0.0 which is incompatible.
Installing collected packages: pypiwin32, parsimonious, eth-typing, pycryptodome, eth-hash, eth-utils, eth-abi, hexbytes, lru-dict, attrdict, rlp, eth-rlp, eth-keys, eth-keyfile, eth-account, web3, pycares, aiodns, ccxt
Running setup.py install for lru-dict ... error
Complete output from command C:\Users\genki\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\genki\AppData\Local\Temp\pip-install-ym4gt40_\lru-dict\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\genki\AppData\Local\Temp\pip-record-proo0t4f\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'lru' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Command "C:\Users\genki\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\genki\AppData\Local\Temp\pip-install-ym4gt40_\lru-dict\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\genki\AppData\Local\Temp\pip-record-proo0t4f\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\genki\AppData\Local\Temp\pip-install-ym4gt40_\lru-dict
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
該当のソースコード
試したこと
ネットでいろいろ検索したのですが、素人なのであまりよく原因がわかりませんでした。
補足情報(FW/ツールのバージョンなど)
Windows10
python3.6.4
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/09/19 13:54
2018/09/19 13:57
2018/09/20 04:36