卸载python3.5 ubuntu_ubuntu 安装pyqt5和卸载pyQt5的方法

本文介绍了在Ubuntu系统中如何安装和卸载PyQt5。通过`python3 -m pip install PyQt5`进行安装,然后使用`sudo python3 -m pip uninstall PyQt5`来卸载,并提供了简单的使用示例。
摘要由CSDN通过智能技术生成

安装pyqt5

wind@wind-ThinkPad-X250:~/Downloads/PyQt5_gpl-5.12.2$ python3 -m pip install PyQt5

Collecting PyQt5

Downloading https://files.pythonhosted.org/packages/6a/f4/6a63aafcee3efd2b156dc835d9c85ca99b24e80f8af89b6da5c46054fe43/PyQt5-5.12.2-5.12.3-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (61.5MB)

100% |████████████████████████████████| 61.5MB 18kB/s

Collecting PyQt5_sip<13,>=4.19.14 (from PyQt5)

Downloading https://files.pythonhosted.org/packages/08/19/ef6b97cfdbb8f9312d71388384f572706e40bf88f07fffb0fc64846b4a36/PyQt5_sip-4.19.17-cp35-cp35m-manylinux1_x86_64.whl (67kB)

100% |████████████████████████████████| 71kB 107kB/s

Installing collected packages: PyQt5-sip, PyQt5

Successfully installed PyQt5-5.12.2 PyQt5-sip-4.19.17

You are using pip version 8.1.1, however version 19.1.1 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

wind@wind-ThinkPad-X250:~/Downloads/PyQt5_gpl-5.12.2$

查看python 所有的安装包

>>> import sys

>>> sys.modules.keys()

dict_keys(['problem_report', '_bz2', 'email.feedparser', 'email.mime', 'base64', 'select', 'tarfile', '__future__', '_compat_pickle', 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值