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.
🌐
Anaconda
anaconda.org › jholdom › quantlib-python
Quantlib Python | Anaconda.org
To install this package run one of the following: conda install jholdom::quantlib-python
🌐
Modelmania
modelmania.github.io › main › Files › Misc › QuantLib_Python.html
Python QuantLib-SWIG Guide
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.
🌐
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
🌐
Anaconda
conda.anaconda.org › jholdom › quantlib-python
Quantlib Python :: Anaconda.org
By data scientists, for data scientists · About Us Anaconda Nucleus Download Anaconda
🌐
Back of the Envelope
vineetv.wordpress.com › tag › quantlib-python
QuantLib-Python – Back of the Envelope
QuantLib-Python requires a working Python environment, and we recommend working with the Anaconda meta-package. Instructions are available from the Anaconda install page. For our purpose here, Windows users should work with the 32-bit version ...
🌐
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 ... a Python distribution for Windows which includes these. Anaconda fits the bill perfectly; we use the 32 bit Python 3.4 version....
Find elsewhere
🌐
Quantlib
quantlib.org › install › macosx-python.shtml
QuantLib-Python Installation on Mac OS X
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; instructions are available at https://www.quantlib.org/install/macosx.shtml.
🌐
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!
🌐
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:
🌐
GitHub
github.com › pulp-platform › quantlib
GitHub - pulp-platform/quantlib: A library to train and deploy quantised Deep Neural Networks · GitHub
Use Anaconda or Miniconda to install QuantLab's prerequisites. ... $> conda create --name pytorch-1.13 $> conda activate pytorch-1.13 $> conda config --env --add channels conda-forge $> conda config --env --add channels pytorch $> conda install ...
Starred by 27 users
Forked by 9 users
Languages   Python 92.7% | Cuda 4.3% | C++ 1.9% | Mako 1.1%
🌐
Libraries.io
libraries.io › conda › quantlib-python
quantlib-python 1.26 on conda - Libraries.io - security & maintenance data for open source software
Bugs can be reported as a GitHub issue at https://github.com/lballabio/QuantLib/issues; if you have a patch available, you can open a pull request instead (see "Contributing" below).
🌐
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...
🌐
Stack Overflow
stackoverflow.com › questions › 56729597 › install-quantlib-python-and-use-it-in-jupyter-in-linux
Install quantlib-python and use it in jupyter in Linux - Stack Overflow
From running "conda list" I noticed that nothing relating to quantlib exists in conda's default shipment of python packages. Fine. From this link: https://anaconda.org/domosute/quantlib, I managed to have it installed and "conda list" shows:
🌐
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 ...
🌐
GitHub
github.com › skadiran › quantlib
GitHub - skadiran/quantlib: quant library
export PYTHONPATH=$PYTHONPATH:/home/foo/anaconda2/lib/python2.7/site-packages/QuantLib_Python-1.12-py2.7-linux-x86_64.egg/QuantLib
Author   skadiran
🌐
Readthedocs
quantlib-python-docs.readthedocs.io › en › latest › getting_started › installation.html
Installation — QuantLib-Python Documentation 1.40 documentation
A working Python 3 installation (Python 3.8+ recommended). Create and activate an isolated environment before installing packages in Linux: ... If you use conda, the conda-forge channel typically provides QuantLib packages.