Python安装pyqt5-tools失败

  • Post author:
  • Post category:python


1.python的版本是3.10.2

2.背景是:想用python+pyqt5来学习python 的GUI编程的,

3.在安装pyqt5-tools时报错如下:

C:Usersj65d5>pip install pyqt5-tools

Collecting pyqt5-tools

Using cached pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB)

Collecting pyqt5==5.15.4

Using cached PyQt5-5.15.4.tar.gz (3.3 MB)

Installing build dependencies … done

Getting requirements to build wheel … done

Preparing metadata (pyproject.toml) … error

error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.

│ exit code: 1

╰─> [29 lines of output]

Traceback (most recent call last):

File “C:Python310libsite-packagespip_vendorpep517in_process_in_process.py”, line 156, in prepare_metadata_for_build_wheel

hook = backend.prepare_metadata_for_build_wheel

AttributeError: module ‘sipbuild.api’ has no attribute ‘prepare_metadata_for_build_wheel’

Du



版权声明:本文为m0_67392273原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。