# How to install Qt 5.6 and PyQt5 in a Python 3.4 virtual environment on Mac OS X and Linux

DevFeed: [How to install Qt 5.6 and PyQt5 in a Python 3.4 virtual environment on Mac OS X and Linux](<https://devfeed.tech/articles/how-to-install-qt-5-6-and-pyqt5-in-a-python-3-4-virtual-environment-on-mac-os-x-and-linux-31836.md>)

Original publisher: [Read original article](<https://www.metachris.dev/2016/03/how-to-install-qt56-pyqt5-virtualenv-python3/>)

Author: Chris Hager

Published: 2016-03-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Chris Hager](<https://devfeed.tech/sources/chris-hager.md>)

Topics: [Qt](<https://devfeed.tech/topics/qt.md>), [Python](<https://devfeed.tech/topics/python.md>), [mac os](<https://devfeed.tech/topics/mac-os.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [application](<https://devfeed.tech/tags/application.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [gui](<https://devfeed.tech/tags/gui.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [installation](<https://devfeed.tech/tags/installation.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [python](<https://devfeed.tech/tags/python.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

## AI overview

A step-by-step guide to installing Qt 5.6 and PyQt5 with Python 3.4 inside a virtual environment on Mac OS X 10.11 and Linux. It covers Python, Xcode and command-line tools, Qt libraries, SIP, PyQt5, and a simple Qt application test.

## Source excerpt

This is a simple guide on installing the latest Qt (currently 5.6) and PyQt5 on Mac OS X 10.11 (El Capitan) and Linux with Python 3.4, inside a virtual environment. Installation Steps Python 3 Xcode and command-line tools Qt libraries Virtual environment SIP Python package PyQt5 Python package Python 3 First of all, make sure that Python 3 is available on your system. You can easily check this by opening the terminal and entering the command python3.