安装QuantLib

时间:2018-01-19 10:00:05

标签: anaconda quantlib

我正在计算机上安装QuantLib,并按照此链接上的说明操作; http://www.cs.utah.edu/~cxiong/Files/Misc/QuantLib_Python.html

我现在正在第7步,尝试在Anaconda Prompt中运行命令我收到以下错误;

    (C:\Users\me\Anaconda3) C:\Users\me> cd C:\local\QuantLib-SWIG-master\Python

(C:\Users\me\Anaconda3) C:\local\QuantLib-SWIG-master\Python> set INCLUDE=C:\local\boost_1_66_0

(C:\Users\me\Anaconda3) C:\local\QuantLib-SWIG-master\Python> set LIB=C:\local\boost_1_66_0\lib64-msvc-14.0

(C:\Users\me\Anaconda3) C:\local\QuantLib-SWIG-master\Python> set QL_DIR=C:\local\QuantLib-1.11

(C:\Users\me\Anaconda3) C:\local\QuantLib-SWIG-master\Python> python setup.py build
  File "setup.py", line 2
    Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl
    ^
IndentationError: unexpected indent

我做错了什么?

0 个答案:

没有答案