pythonで使えるTA-Libというライブラリのpythonラッパーがインストールができません.(pip install TA-Libでエラーがでます.)
環境は以下です.
windows10 64bit
python 3.63(anacondaでインストール)
ta-libのフォルダはすでにCドライブのルートに保存済み.
調べてみたところ,visual studioが必要とのことで,visual studio 2017をインストールしました.しかし依然エラーが出てインストールできません.ほかのライブラリのpip installはできますが,本ライブラリだけできません.エラーは以下です.どなたか原因と解決法がわかる方がいれば教えていただけますでしょうか。よろしくお願いいたします.
Collecting TA-Lib
Using cached TA-Lib-0.4.10.tar.gz
Building wheels for collected packages: TA-Lib
Running setup.py bdist_wheel for TA-Lib ... error
Failed building wheel for TA-Lib
Running setup.py clean for TA-Lib
Failed to build TA-Lib
Installing collected packages: TA-Lib
Running setup.py install for TA-Lib ... error
Exception:
Traceback (most recent call last):
File "C:\Users\shuhe\Anaconda3\lib\site-packages\pip\compat_init_.py", line 73, in console_to_str
return s.decode(sys.stdout.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 3: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\shuhe\Anaconda3\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Users\shuhe\Anaconda3\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "C:\Users\shuhe\Anaconda3\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "C:\Users\shuhe\Anaconda3\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "C:\Users\shuhe\Anaconda3\lib\site-packages\pip\utils_init_.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "C:\Users\shuhe\Anaconda3\lib\site-packages\pip\compat_init_.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 3: invalid start byte
あなたの回答
tips
プレビュー