You first need to install the QuantLib package. The easiest way I found is to install Anaconda 4.3.1 (link), open a Command Prompt as Admin and run:

pip install QuantLib-Python

For me, this only worked on the latest version of Anaconda including Python 3.6, think the QuantLib-Python package was implemented in PIP only very recently. This might work for other recent installations of Python as well, but it did not work for me on older versions of Anaconda or Python 3.5.

Answer from PvK on Stack Overflow
🌐
Anaconda.org
anaconda.org › conda-forge › quantlib-python
quantlib-python - conda-forge | Anaconda.org
Install quantlib-python with Anaconda.org. The python wrapper of QuantLib.
🌐
Modelmania
modelmania.github.io › main › Files › Misc › QuantLib_Python.html
Python QuantLib-SWIG Guide
QuantLib and QuantLib-SWIG source code e.g. QuantLib-1.8.zip, QuantLib-SWIG-1.8.zip · Install Anaconda Python3 for Linux x64. At the end, remember to allow adding the Anaconda directory to your bash shell PATH environment variable.
🌐
Anaconda
anaconda.org › jholdom › quantlib-python
Quantlib Python | Anaconda.org
To install this package run one of the following: conda install jholdom::quantlib-python
🌐
Quantlib
quantlib.org › install › macosx-python.shtml
QuantLib-Python Installation on Mac OS X
This also helps in case you have multiple versions of Python on your machine. You can create the virtual environment with ... . .venv/bin/activate (mind the single dot at the beginning of the line.) Once the environment is active, run · pip install setuptools build tox pytest If you're using conda to manage your environments, you know what to do instead.
🌐
Wordpress
jrvcomputing.wordpress.com › 2015 › 07 › 03 › 43
Installing QuantLib-Python Quantitative Finance Library in Windows – Prof. Jayanth R Varma's blog on computing
December 25, 2019 - REM Run Visual Studio Command Prompt to set up all environment variables "%VS120COMNTOOLS%\VsDevCmd.bat" REM CD to `QuantLib` folder cd %QL_DIR% REM Add boost to include and library paths and force VSC++ to use these paths set INCLUDE=%myboost%;%INCLUDE% set LIB=%myboost%\lib32-msvc-12.0;%LIB% set UseEnv=true REM Build QuantLib using msbuild REM Warning: This can take a while msbuild /p:AdditionalLibPaths="%myboost\lib" /p:Configuration=Release /p:Platform=Win32 QuantLib_vc12.sln · As far as Python is concerned, we use Numpy and Scipy a lot in the classrooom and installing these in Windows is non trivial. So we prefer a Python distribution for Windows which includes these. Anaconda fits the bill perfectly; we use the 32 bit Python 3.4 version.
🌐
PyPI
pypi.org › project › QuantLib-Python
QuantLib-Python · PyPI
This module is provided for backward compatibility. Use “pip install QuantLib” instead.
      » pip install QuantLib-Python
    
Published   Mar 23, 2020
Version   1.18
🌐
Quantlib
quantlib.org › install › linux-python.shtml
QuantLib-Python Installation on Linux
sudo apt-get install python3-dev Similar packages should be available for most other distributions. Contrary to popular belief, working from a released tarball doesn't require you to have SWIG installed. You can download released QuantLib-SWIG versions from GitHub at https://github.com/lba...
Find elsewhere
🌐
Back of the Envelope
vineetv.wordpress.com › tag › quantlib-python
QuantLib-Python – Back of the Envelope
At the Visual Studio command prompt, set the following (again, mind the gaps): cd \path\to\QuantLib-SWIG-1.6\Python set PATH=\path\to\Anaconda3;\path\to\Anaconda3\scripts;\path\to\swigwin-3.0.5;\path\to\QuantLib-1.6\lib;%PATH% set ...
🌐
Readthedocs
quantlib-python-docs.readthedocs.io › en › latest › getting_started › installation.html
Installation — QuantLib-Python Documentation 1.40 documentation
Create and activate an isolated environment before installing packages in Linux: ... If you use conda, the conda-forge channel typically provides QuantLib packages. Example: ... Note: package names on conda-forge can vary (e.g. “quantlib” or “quantlib-python”). If the command above does not find a package, search the conda-forge index or use the Anaconda Navigator UI.
🌐
Narkive
quantlib-users.narkive.com › 6MJmabw4 › quantlib-python-install-with-anaconda
[Quantlib-users] Quantlib Python Install with Anaconda
Post by nickos556 Hi, does anyone have experience installing QuantLib python with the http://continuum.io/downloads)? If so, could you share install instructions? I'm having lots of problems as Anaconda uses MinGW, Quantlib uses Visual Studio, etc etc. Unfortunately I am new to this stuff!
🌐
Stack Overflow
stackoverflow.com › questions › 48338419 › installing-quantlib
anaconda - Installing QuantLib - Stack Overflow
(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 ...
🌐
SourceForge
quantlib.sourceforge.net › install › macosx-python.shtml
QuantLib-Python installation on Mac OS X - SourceForge
If you installed QuantLib in /usr/local like Homebrew or in /opt/local like MacPorts, you should be already set up. The second is that the call to ./configure as written above will find the system installation of Python. If you want to use a different one (for instance because you installed Python 3, or you want to use an Anaconda installation) you must pass the location of your chosen Python interpreter to ./configure; for instance, if you have Python 3 installed as /usr/local/bin/python3, you'll have to run:
🌐
Quantlib
quantlib.org › install.shtml
QuantLib Installation
Compilation instructions are available for Microsoft Visual C++, Mac OS X and Linux/Unix. Alternatively, you can build QuantLib on all platforms following the CMake build instructions. Instructions for creating a Python wheel are available for Windows, Mac OS X and Linux/Unix.
🌐
Libraries.io
libraries.io › conda › quantlib-python
quantlib-python 1.26 on conda - Libraries.io - security & maintenance data for open source software
conda install -c conda-forge quantlib-python · The QuantLib project (https://www.quantlib.org) is aimed at providing a comprehensive software framework for quantitative finance. QuantLib is a free/open-source library for modeling, trading, ...
🌐
GitHub
github.com › skadiran › quantlib
GitHub - skadiran/quantlib: quant library
export PATH=$PATH:/path/to/quantlib/ path to quantlib install is required because configure looks for quantlib config. ./configure make -C Python make -C Python install · This will install python packages into the default python location, ( ...
Author   skadiran
🌐
Quantlib
quantlib.org › install › windows-python.shtml
QuantLib-Python Installation on Windows
Once you have activated the Python environment you want to use, make sure you have the latest version of pip by running: ... If a wheel is available for your system (which is likely) it will be installed and you will be able to leave this page and use it right away; if not, you'll have to compile it yourself as described in the next section. The following assumes that you already installed QuantLib...
🌐
GitHub
github.com › pulp-platform › quantlib
GitHub - pulp-platform/quantlib: A library to train and deploy quantised Deep Neural Networks · GitHub
$> conda create --name pytorch-1.12 ... torchsummary parse coloredlogs netron · After creating the conda environment, install the quantlib quantisation library in your Anaconda environment:...
Starred by 27 users
Forked by 9 users
Languages   Python 92.7% | Cuda 4.3% | C++ 1.9% | Mako 1.1%