pyqt 安装PySide2

pip3 install -i https://pypi.doubanio.com/simple/ PySide2

D:\PycharmProjects\calb_demo>pip3 install -i https://pypi.doubanio.com/simple/ PySide2
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip
21.0 will remove support for this functionality.
Looking in indexes: https://pypi.doubanio.com/simple/
Collecting PySide2
  Downloading https://pypi.doubanio.com/packages/81/73/830023aa8f06d9b04bf45146fd95f1a0f8644f196713fe98bc678e35ab6c/PySide2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl (136.3 MB)
     |████████████████████████████████| 136.3 MB 27 kB/s
Collecting shiboken2==5.15.2
  Downloading https://pypi.doubanio.com/packages/85/c2/49578ee1912e06e4f4ffb2cf974b4ee864f6d81bcb3961bc8b96de021cbd/shiboken2-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl (2.3 MB)
     |████████████████████████████████| 2.3 MB 3.3 MB/s
Installing collected packages: shiboken2, PySide2
Successfully installed PySide2-5.15.2 shiboken2-5.15.2

D:\PycharmProjects\calb_demo>

pip3 install -i https://pypi.doubanio.com/simple/ pyinstaller

执行:

D:\PycharmProjects\calb_demo>pip3 install -i https://pypi.doubanio.com/simple/ pyinstaller
Looking in indexes: https://pypi.doubanio.com/simple/
Collecting pyinstaller
  Downloading https://pypi.doubanio.com/packages/da/98/ba0071620a2bd672cd98b398653517a296f988a8271d9d2f365a7922a51b/pyinstaller-4.7-
py3-none-win_amd64.whl (2.0MB)
    100% |████████████████████████████████| 2.0MB 855kB/s
Collecting importlib-metadata; python_version < "3.8" (from pyinstaller)
  Downloading https://pypi.doubanio.com/packages/c4/1f/e2238896149df09953efcc53bdcc7d23597d6c53e428c30e572eda5ec6eb/importlib_metada
ta-4.8.2-py3-none-any.whl
Requirement already satisfied: setuptools in c:\users\hlg\appdata\local\programs\python\python36\lib\site-packages (from pyinstaller
) (40.6.2)
Collecting pyinstaller-hooks-contrib>=2020.6 (from pyinstaller)
  Downloading https://pypi.doubanio.com/packages/80/74/4c885df43604c4ae570610e187052f29d806d582e398c2e48b83dad74610/pyinstaller_hook
s_contrib-2021.4-py2.py3-none-any.whl (215kB)
    100% |████████████████████████████████| 225kB 2.9MB/s
Collecting altgraph (from pyinstaller)
  Downloading https://pypi.doubanio.com/packages/84/3f/1a5c9bef54cac9bf41edd6f4aaf61cd52ed578e10ccc607e0278012cb4a5/altgraph-0.17.2-
py2.py3-none-any.whl
Collecting pywin32-ctypes>=0.2.0; sys_platform == "win32" (from pyinstaller)
  Downloading https://pypi.doubanio.com/packages/9e/4b/3ab2720f1fa4b4bc924ef1932b842edf10007e4547ea8157b0b9fc78599a/pywin32_ctypes-0
.2.0-py2.py3-none-any.whl
Collecting pefile>=2017.8.1; sys_platform == "win32" (from pyinstaller)
  Downloading https://pypi.doubanio.com/packages/ee/e1/a7bd302cf5f74547431b4e9b206dbef782d112df6b531f193bb4a29fb1b9/pefile-2021.9.3.
tar.gz (72kB)
    100% |████████████████████████████████| 81kB 4.3MB/s
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->pyinstaller)
  Downloading https://pypi.doubanio.com/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-n
one-any.whl
Collecting typing-extensions>=3.6.4; python_version < "3.8" (from importlib-metadata; python_version < "3.8"->pyinstaller)
  Downloading https://pypi.doubanio.com/packages/17/61/32c3ab8951142e061587d957226b5683d1387fb22d95b4f69186d92616d1/typing_extensions-4.0.0-py3-none-any.whl
Collecting future (from pefile>=2017.8.1; sys_platform == "win32"->pyinstaller)
  Downloading https://pypi.doubanio.com/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB)
    100% |████████████████████████████████| 829kB 5.6MB/s
Installing collected packages: zipp, typing-extensions, importlib-metadata, pyinstaller-hooks-contrib, altgraph, pywin32-ctypes, future, pefile, pyinstaller
  Running setup.py install for future ... done
  Running setup.py install for pefile ... done
Successfully installed altgraph-0.17.2 future-0.18.2 importlib-metadata-4.8.2 pefile-2021.9.3 pyinstaller-4.7 pyinstaller-hooks-contrib-2021.4 pywin32-ctypes-0.2.0 typing-extensions-4.0.0 zipp-3.6.0
You are using pip version 18.1, however version 21.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

D:\PycharmProjects\calb_demo>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Qt是一款跨平台的图形用户界面开发框架,提供了丰富的GUI控件和功能以及跨平台的能力。PyQt和PySide是在Qt基础上开发的Python绑定库,使得我们可以使用Python语言来编写Qt应用程序。 PyQt和PySide提供了和Qt类似的功能和API,使得我们可以方便地在Python中使用Qt的各种特性,如窗口管理、布局管理器、事件处理和信号槽机制等。它们支持Qt的所有模块,因此可以利用Qt的强大功能开发出高度可定制的应用程序。 Custom Widgets是指自定义的用户界面部件,可以根据需求自己进行开发或者对现有的控件进行定制。在PyQt和PySide中,我们可以使用Qt的功能来创建自定义的控件,通过继承已有的控件类来添加新的功能或者修改控件的外观和行为。这样可以满足特定需求并增加应用程序的交互性和美观性。 开发自定义的控件需要理解Qt的事件和绘图机制,掌握Qt提供的绘图功能和控件定制的技术。我们可以使用Qt的绘图API来绘制自定义的界面元素,并且可以通过事件和信号槽来实现控件的交互性。在PyQt和PySide中,可以利用Python的特性和语法来更加方便地进行控件的开发和定制。 总之,Qt、PyQt和PySide的结合可以帮助我们快速开发跨平台的应用程序,并且可以通过自定义控件来满足特定需求。这些工具和技术的使用可以大大提高应用程序的开发效率和灵活性。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值