Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install qtk via python pip




qtk - A QuantLib Python ToolKit, it belongs to Classifiers:

- Development Status :: 4 - Beta
- Environment :: Console
- Intended Audience :: End Users/Desktop
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Topic :: Scientific/Engineering
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules

When you know about this project and you want to new install qtk to support your project or you get trouble as ModuleNotFoundError: No module named "qtk" or ImportError: cannot import name "qtk" in your project, let follow this tutorial to install qtk



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_qtk_env

- Active the virtual environment

test_qtk_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_qtk_env

- Active the virtual environment

source test_qtk_env/bin/active


Step 2: OK, now, let flow below content to start the installation qtk

To install qtk on Windows(CMD):

py -m pip install qtk

To install qtk on Unix/macOs:

pip install qtk


Step 3: If you want to install a specific qtk version, add ==<qtk version> to the end command line

Example:

pip install qtk==0.0.0


Please see the version list below table:

VersionReleased dateCommand
qtk 0.1.32016-08-26T14:53:07Windows:

py -m pip install qtk==0.1.3

Unix/macOs:

pip install qtk==0.1.3

qtk 0.1.22016-08-19T02:05:01Windows:

py -m pip install qtk==0.1.2

Unix/macOs:

pip install qtk==0.1.2

qtk 0.1.12016-07-22T04:25:16Windows:

py -m pip install qtk==0.1.1

Unix/macOs:

pip install qtk==0.1.1

qtk 0.1.02016-07-22T03:47:11Windows:

py -m pip install qtk==0.1.0

Unix/macOs:

pip install qtk==0.1.0

qtk 0.0.02016-06-11T19:01:17Windows:

py -m pip install qtk==0.0.0

Unix/macOs:

pip install qtk==0.0.0


Step 4: Otherwise, you can install qtk from local archives:

Download the distribution file from qtk-0.1.3.zip or the specific qtk version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_qtk_downloaded_file>

On Unix/macOs:

pip install <path_to_qtk_downloaded_file>


List distribution:


Project link:

- Homepage