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

How to install QtPy via python pip




QtPy - Provides an abstraction layer on top of the various Qt bindings (PyQt5/6 and PySide2/6)., it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- Environment :: MacOS X
- Environment :: Win32 (MS Windows)
- Environment :: X11 Applications
- Environment :: X11 Applications :: Qt
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.10
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: User Interfaces
- Topic :: Software Development :: Widget Sets

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



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_QtPy_env

- Active the virtual environment

test_QtPy_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_QtPy_env

- Active the virtual environment

source test_QtPy_env/bin/active


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

To install QtPy on Windows(CMD):

py -m pip install QtPy

To install QtPy on Unix/macOs:

pip install QtPy


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

Example:

pip install QtPy==0.1.0


Please see the version list below table:

VersionReleased dateCommand
QtPy 2.2.02022-08-10T17:22:55Windows:

py -m pip install QtPy==2.2.0

Unix/macOs:

pip install QtPy==2.2.0

QtPy 2.1.02022-05-02T16:57:06Windows:

py -m pip install QtPy==2.1.0

Unix/macOs:

pip install QtPy==2.1.0

QtPy 2.0.12022-02-02T16:01:26Windows:

py -m pip install QtPy==2.0.1

Unix/macOs:

pip install QtPy==2.0.1

QtPy 2.0.02021-12-22T17:18:03Windows:

py -m pip install QtPy==2.0.0

Unix/macOs:

pip install QtPy==2.0.0

QtPy 1.11.32021-12-03T17:21:10Windows:

py -m pip install QtPy==1.11.3

Unix/macOs:

pip install QtPy==1.11.3

QtPy 1.11.22021-09-23T16:19:11Windows:

py -m pip install QtPy==1.11.2

Unix/macOs:

pip install QtPy==1.11.2

QtPy 1.11.12021-09-13T17:29:16Windows:

py -m pip install QtPy==1.11.1

Unix/macOs:

pip install QtPy==1.11.1

QtPy 1.11.02021-09-03T17:50:39Windows:

py -m pip install QtPy==1.11.0

Unix/macOs:

pip install QtPy==1.11.0

QtPy 1.10.02021-08-17T07:53:17Windows:

py -m pip install QtPy==1.10.0

Unix/macOs:

pip install QtPy==1.10.0

QtPy 1.9.02019-07-23T10:20:13Windows:

py -m pip install QtPy==1.9.0

Unix/macOs:

pip install QtPy==1.9.0

QtPy 1.8.02019-06-12T11:19:11Windows:

py -m pip install QtPy==1.8.0

Unix/macOs:

pip install QtPy==1.8.0

QtPy 1.7.12019-05-05T07:55:06Windows:

py -m pip install QtPy==1.7.1

Unix/macOs:

pip install QtPy==1.7.1

QtPy 1.7.02019-03-16T10:46:38Windows:

py -m pip install QtPy==1.7.0

Unix/macOs:

pip install QtPy==1.7.0

QtPy 1.6.02019-01-12T00:42:23Windows:

py -m pip install QtPy==1.6.0

Unix/macOs:

pip install QtPy==1.6.0

QtPy 1.5.22018-10-20T17:42:21Windows:

py -m pip install QtPy==1.5.2

Unix/macOs:

pip install QtPy==1.5.2

QtPy 1.5.12018-09-18T16:48:31Windows:

py -m pip install QtPy==1.5.1

Unix/macOs:

pip install QtPy==1.5.1

QtPy 1.5.02018-08-25T19:18:37Windows:

py -m pip install QtPy==1.5.0

Unix/macOs:

pip install QtPy==1.5.0

QtPy 1.4.22018-05-06T22:28:17Windows:

py -m pip install QtPy==1.4.2

Unix/macOs:

pip install QtPy==1.4.2

QtPy 1.4.12018-04-28T17:09:05Windows:

py -m pip install QtPy==1.4.1

Unix/macOs:

pip install QtPy==1.4.1

QtPy 1.4.02018-03-11T21:47:50Windows:

py -m pip install QtPy==1.4.0

Unix/macOs:

pip install QtPy==1.4.0

QtPy 1.3.12017-08-21T16:47:30Windows:

py -m pip install QtPy==1.3.1

Unix/macOs:

pip install QtPy==1.3.1

QtPy 1.3.02017-08-12T15:25:09Windows:

py -m pip install QtPy==1.3.0

Unix/macOs:

pip install QtPy==1.3.0

QtPy 1.2.12017-01-22T02:10:29Windows:

py -m pip install QtPy==1.2.1

Unix/macOs:

pip install QtPy==1.2.1

QtPy 1.2.02017-01-08T21:47:29Windows:

py -m pip install QtPy==1.2.0

Unix/macOs:

pip install QtPy==1.2.0

QtPy 1.1.22016-08-08T22:32:36Windows:

py -m pip install QtPy==1.1.2

Unix/macOs:

pip install QtPy==1.1.2

QtPy 1.1.12016-07-01T04:05:54Windows:

py -m pip install QtPy==1.1.1

Unix/macOs:

pip install QtPy==1.1.1

QtPy 1.1.02016-06-30T15:49:51Windows:

py -m pip install QtPy==1.1.0

Unix/macOs:

pip install QtPy==1.1.0

QtPy 1.0.22016-06-02T03:13:13Windows:

py -m pip install QtPy==1.0.2

Unix/macOs:

pip install QtPy==1.0.2

QtPy 1.0.12016-04-10T18:58:00Windows:

py -m pip install QtPy==1.0.1

Unix/macOs:

pip install QtPy==1.0.1

QtPy 1.02016-03-22T22:23:26Windows:

py -m pip install QtPy==1.0

Unix/macOs:

pip install QtPy==1.0

QtPy 0.1.32015-12-30T18:19:15Windows:

py -m pip install QtPy==0.1.3

Unix/macOs:

pip install QtPy==0.1.3

QtPy 0.1.22015-03-01T18:25:47Windows:

py -m pip install QtPy==0.1.2

Unix/macOs:

pip install QtPy==0.1.2

QtPy 0.1.12015-03-01T18:23:40Windows:

py -m pip install QtPy==0.1.1

Unix/macOs:

pip install QtPy==0.1.1

QtPy 0.1.02015-03-01T16:55:41Windows:

py -m pip install QtPy==0.1.0

Unix/macOs:

pip install QtPy==0.1.0


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

Download the distribution file from QtPy-2.2.0.tar.gz or the specific QtPy version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_QtPy_downloaded_file>

On Unix/macOs:

pip install <path_to_QtPy_downloaded_file>


List distribution:


Project link:

- Homepage
- Bug Tracker
- Github
- Parent Project