Pip / Conda安装Quantipy抛出失败的车轮错误

时间:2019-04-17 20:48:56

标签: python-3.x pip package install conda

尝试安装python库Quantipy。当我尝试从命令行使用Pip安装时,出现了一个很长的错误。我在Python 3发行版中使用Anaconda

pip安装数量

应该正确安装,但这是输出:

  
     

无法进行定量的建筑车轮     运行setup.py clean进行量化   无法建立数量   安装收集的软件包:quanpty     运行setup.py install进行量化...错误       来自命令C:\ ProgramData \ Anaconda3 \ python.exe -u -c的完整输出,导入设置工具,标记化; 文件 ='C:\ Users \ Mark \ AppData \ Local \ Temp \ pip-install -6jrxianp \ quantipy \ 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 \ Mark \ AppData \ Local \ Temp \ pip-record-1dg6hdcy \ install-record.txt --single-version-externally-managed --compile:       C:\ ProgramData \ Anaconda3 \ lib \ site-packages \ setuptools \ dist.py:470:用户警告:将'0.0.0dev3'标准化为'0.0.0.dev3'         normalized_version,       运行安装       运行构建       运行build_py       创建版本       创建build \ lib.win-amd64-3.7       创建build \ lib.win-amd64-3.7 \ quantipy       复制Quantipy \ mplrcsettings.py-> build \ lib.win-amd64-3.7 \ quantipy       复制Quantipy__init__.py-> build \ lib.win-amd64-3.7 \ quantipy       创建build \ lib.win-amd64-3.7 \ quantipy \ correlations       复制Quantipy \ correlations \ correlations.py-> build \ lib.win-amd64-3.7 \ quantipy \ correlations       复制quanpty \ correlations \ dynspecfunc.py-> build \ lib.win-amd64-3.7 \ quantipy \ correlations       复制数量\相关性__init__.py-> build \ lib.win-amd64-3.7 \ quantipy \ correlations       创建build \ lib.win-amd64-3.7 \ quantipy \ lattice       复制quanpty \ lattice \ lattice.py-> build \ lib.win-amd64-3.7 \ quantipy \ lattice       复制quanpty \ lattice__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ lattice       创建build \ lib.win-amd64-3.7 \ quantipy \ models       复制Quantipy \ models \ genericmodel.py-> build \ lib.win-amd64-3.7 \ quantipy \ models       复制quanpty \ models \ quadratic.py-> build \ lib.win-amd64-3.7 \ quantipy \ models       复制quanpty \ models \ spinwave.py-> build \ lib.win-amd64-3.7 \ quantipy \ models       复制quanpty \ models \ test.py-> build \ lib.win-amd64-3.7 \ quantipy \ models       复制quanpty \ models \ tightbinding.py-> build \ lib.win-amd64-3.7 \ quantipy \ models       复制quanpty \ models__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ models       创建build \ lib.win-amd64-3.7 \ quantipy \ operators       复制quanpty \ operators \ heisenberg.py-> build \ lib.win-amd64-3.7 \ quantipy \ operators       复制quanpty \ operators__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ operators       创建build \ lib.win-amd64-3.7 \ quantipy \ quicked       复制quanpty \ quicked \ quicked.py-> build \ lib.win-amd64-3.7 \ quantipy \ quicked       复制quanpty \ quicked__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ quicked       创建build \ lib.win-amd64-3.7 \ quantipy \ spectra       复制quanpty \ spectra \ spectra.py-> build \ lib.win-amd64-3.7 \ quantipy \ spectra       复制quanpty \ spectra__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ spectra       创建build \ lib.win-amd64-3.7 \ quantipy \ spglib       复制Quantipy \ spglib \ spglib.py-> build \ lib.win-amd64-3.7 \ quantipy \ spglib       复制Quantipy \ spglib \ spglib2d.py-> build \ lib.win-amd64-3.7 \ quantipy \ spglib       复制Quantipy \ spglib__init__.py-> build \ lib.win-amd64-3.7 \ quantipy \ spglib       创建build \ lib.win-amd64-3.7 \ quantipy \ symmetries       复制quanpty \ symmetries \ symmetries.py-> build \ lib.win-amd64-3.7 \ quantipy \ symmetries       复制quanpty \ symmetries__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ symmetries       创建build \ lib.win-amd64-3.7 \ quantipy \ towerofstates       复制quanpty \ towerofstates \ towerofstates.py-> build \ lib.win-amd64-3.7 \ quantipy \ towerofstates       复制quanpty \ towerofstates__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ towerofstates       创建build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils \ Decorator.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils \ findfiles.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils \ geometryutils.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制quanpty \ utils \ pathdistance.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils \ pfaffian.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils \ plotutils.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils \ rowoperations.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils \ sun_combinatorics.py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       复制Quantipy \ utils__init __。py-> build \ lib.win-amd64-3.7 \ quantipy \ utils       运行build_ext       numpy.distutils中没有名为“ numpy.distutils._msvccompiler”的模块;从distutils尝试       建立'_quicked'扩展名       错误:需要Microsoft Visual C ++ 14.0。使用“ Microsoft Visual C ++生成工具”获取它:https://visualstudio.microsoft.com/downloads/

2 个答案:

答案 0 :(得分:1)

Quantipy尚处于发展初期, 尚未提供良好的二进制安装支持。 (0.0.0.dev3)

  

需要Microsoft Visual C ++ 14.0。使用“ Microsoft Visual C ++生成工具”获取它:https://visualstudio.microsoft.com/downloads/

在软件包成熟的现阶段,您需要先获得Visual C ++ 14,然后才能成功完成pip install

答案 1 :(得分:0)

您正在尝试在python 3上安装python 2模块。到目前为止,python 3尚未提供大量版本。