Example of QtThreads with PyQt5
Create a virtualenv
virtualenv venv -p python3
Activate the venv (Windows)
venv\Scripts\activate
Activate the venv (Linux)
source venv/bin/activate
Install required packages
pip install -r requirements.txt
Run!
python getbitcoinprice.py