Python Forum

Full Version: Stuck on installing PyQt5-tools
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
0

i already install PyQt5 and upgrade pip and setuptools to latest version.my python version is 3.12.2. i also add qmake in windows path variable. Right now i try to install Pyqt5-tools using :
pip install PyQt5-tools
after while the installation process stuck on: Preparing metadata (pyproject.toml)
and after long time i got Memory Error. i try it several times and i got same error. then i try to install it locally using :
pip install C:\Users\Mehrdad\Downloads\pyqt5_tools-5.15.4.3.1-py3-none-any.whl and i got same error again.
at last i try to install it using :
pip install PyQt5-tools --config-settings --confirm-license='yes' --verbose the installation process stuck on:
Type 'L' to view the license. Type 'yes' to accept the terms of the license. Type 'no' to decline the terms of the license.
in this step i cant type anything in terminal to accept or deny. your help will be appreciate.
I tried with Python 3.12 and it did work.
So may not ready for Python 3.12 yet,if try 3.11 it works.
Also could use pyqt6-tools now.
# Make environment with Python 3.11
G:\div_code
λ py -3.11 -m venv qt_env

G:\div_code
λ cd qt_env\

G:\div_code\qt_env
λ G:\div_code\qt_env\Scripts\activate

# Install
G:\div_code\qt_env
(qt_env) λ pip install pyqt5-tools
Collecting pyqt5-tools
......  
Installing collected packages: PyQt5-Qt5, qt5-applications, python-dotenv, PyQt5-sip, colorama, pyqt5, click, qt5-tools, pyqt5-plugins, pyqt5-tools
Successfully installed PyQt5-Qt5-5.15.2 PyQt5-sip-12.13.0 click-8.1.7 colorama-0.4.6 pyqt5-5.15.9 pyqt5-plugins-5.15.9.2.3 pyqt5-tools-5.15.9.3.3 python-dotenv-1.0.1 qt5-applications-5.15.2.2.3 qt5-tools-5.15.2.1.3

# Test
G:\div_code\qt_env
(qt_env) λ qt5-tools --help
Usage: qt5-tools [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  assistant
  canbusutil
  designer
  lconvert
....