试图安装Tquant,使用pip install tquant。出错,安装不成功,求楼主解惑。环境:Win7 x64,Python 3.6,Anaconda。主要出错信息如下:
1、我已经提前安装了Microsoft Visual C++ Runtime Library, vc_redist.x64.exe。但还是出现了第一个错误,信息如下:
building 'msgpack' library
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C+
+ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Failed building wheel for tquant
2、第2个错误如下,不知道是否由第一个错误引起的:难道我需要安装整套的Microsoft Visual C++?
building 'msgpack' library
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:\programdata\anaconda3\python.exe -u -c "import setuptools, tokenize;
__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-d21p5r39\\tquan
t\\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\ADMINI~1\AppData\Local\Temp\pip-record-ljsytbvd\install-record.txt --sin
gle-version-externally-managed --compile" failed with error code 1 in C:\Users\A
DMINI~1\AppData\Local\Temp\pip-install-d21p5r39\tquant\