質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
CCXT

CCXT(CryptoCurrency eXchange Trading)は、ビットコインやアルトコインといった仮想通貨の売買を自動化するためのJavaScript/Python/PHP向けライブラリ。CCXTが取引所間のAPI差分を吸収することで、異なる取引所に共通した実装が可能です。

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Q&A

解決済

1回答

1467閲覧

ccxtのインストールのエラーについて

gengengen

総合スコア15

CCXT

CCXT(CryptoCurrency eXchange Trading)は、ビットコインやアルトコインといった仮想通貨の売買を自動化するためのJavaScript/Python/PHP向けライブラリ。CCXTが取引所間のAPI差分を吸収することで、異なる取引所に共通した実装が可能です。

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

0グッド

0クリップ

投稿2018/09/18 14:36

前提・実現したいこと

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

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

投稿2018/09/18 14:51

hayataka2049

総合スコア30933

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

gengengen

2018/09/19 13:54

ご回答ありがとうございます。そのあと試したのですが、 distributed 1.21.8 requires msgpack, which is not installed.(赤文字) Installing collected packages: eth-typing Found existing installation: eth-typing 2.0.0 Uninstalling eth-typing-2.0.0: Successfully uninstalled eth-typing-2.0.0 Successfully installed eth-typing-1.3.0 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. とでましたが、正常にインストールされたのでしょうか?重ね重ね申し訳ありません。
hayataka2049

2018/09/19 13:57

anaconda prompt等からpythonを起動してimport ccxtすればわかりますね
gengengen

2018/09/20 04:36

正常に作動しました。ご丁寧にありがとうございました!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問