当前位置: 首页 > news >正文

北塘网站制作卡点视频免费制作软件

北塘网站制作,卡点视频免费制作软件,哪个网站做的简历最好,做网站运用的技术02 安装Python3和PyQT6 《开始使用PyQT》 第01章 PyQT入门 02 安装Python3和PyQT6 So that all readers are on the same page, let’s begin by installing or updating your version of Python. 为了让所有读者都能理解,让我们从安装或更新 Python 版本开始。 …

02 安装Python3和PyQT6

《开始使用PyQT》 第01章 PyQT入门 02 安装Python3和PyQT6

So that all readers are on the same page, let’s begin by installing or updating your version of Python.

为了让所有读者都能理解,让我们从安装或更新 Python 版本开始。

检查你的Python版本

In order to use PyQt, you will first need to have Python 3.7 or higher installed.

要使用 PyQt,首先需要安装 Python 3.7 或更高版本。

Note when pyQt6 was first released, it was compatible with python 3.6.1 or higher. however, that was scheduled to be discontinued at some point in the future. you should have python 3.7 or higher on your system just to be on the safe side.

注意,在 pyQt6 发布之初,它兼容 Python 3.6.1 或更高版本。

To check which version of Python 3 you have installed on your system, open your system’s shell, and run the command

要查看系统中安装的 Python 3 版本,请打开系统 shell 并运行以下命令

python3 --version

Change python3 to python on Windows. This will return your system’s Python 3 version. If yours happens to be lower than Python 3.7 or you don’t have Python installed, then have a look at www.python.org/downloads/ to get the latest version.

在 Windows 上将 python3 更改为 python。这将返回系统的 Python 3 版本。如果您的系统版本低于 Python 3.7 或没有安装 Python,请访问 www.python.org/downloads/ 获取最新版本。

Tip For those readers that might not want to remove their current version of python and would like to manage multiple python versions on their system, have a look at the python version management tool, pyenv.

提示 如果读者不想删除当前的 python 版本,但又想在自己的系统上管理多个 python 版本,可以参考 python 版本管理工具 pyenv。

安装PyQT6

Since PyQt does not come included with your Python installation, the next step is to use pip to install the PyQt6 package from the Python Package Index (PyPI). To create the bindings between Python and C++, the SIP binding generator tool is used. When downloading PyQt6 from PyPI, the sip module will automatically be downloaded too.To install PyQt6, enter the following command into your shell:

由于 Python 安装中不包含 PyQt,下一步是使用 pip 从 Python 包索引 (PyPI) 中安装 PyQt6 包。要在 Python 和 C++ 之间创建绑定,需要使用 SIP 绑定生成器工具。从 PyPI 下载 PyQt6 时,也会自动下载 sip 模块:

pip3 install PyQt6

If you are using Windows, you will probably need to change pip3 to pip. To make sure PyQt is downloaded properly, open up the Python 3 interpreter by entering python3 (python for Windows) into the command line. Then enter the following command:

如果您使用的是 Windows,可能需要将 pip3 改为 pip。要确保 PyQt 已正确下载,请在命令行中输入 python3 (Windows 版的 python),打开 Python 3 解释器。然后输入以下命令:

import PyQt6

Tip throughout the course of this book, you’ll create a number of pyQt GUis. For those readers who are interested in managing their different pyQt projects and their dependencies, have a look at using virtual environments and the python module, venv.

在本书的整个学习过程中,你会创建大量的 pyQt GUis。如果读者对管理不同的 pyQt 项目及其依赖关系感兴趣,可以参考使用虚拟环境和 python 模块 venv。

If no errors are returned, we can now move on and learn a little bit more about user interfaces.

如果没有错误返回,我们就可以继续学习更多关于用户界面的知识。

http://www.yidumall.com/news/49507.html

相关文章:

  • 乐清网站只做东莞seo快速排名
  • 浙江城乡建设网站竞价托管多少钱一个月
  • 搭建网站需要什么服务器西安网站制作推广
  • 苏州怎么做网站排名优化常州网站建设制作
  • 城市规划建设网站新手做网络销售难吗
  • 手机网站建设教程企业网站建设的目的
  • 做网站的服务商柏乡seo快排优化
  • 图片做视频网站有哪些廊坊百度快照优化
  • 建设网站网上银行登录域名年龄对seo的影响
  • 在虚拟主机上建设多个网站开发网站需要多少钱
  • 枣庄网站设计百度收录链接
  • 成都制作网站公司哪家好企业培训课程开发
  • 深圳专业制作网站哪个公司好口碑营销成功案例
  • 宣传网站制作免费建站的网站哪个好
  • 各大网站注册免费的关键词优化软件
  • 网站设计的毕业设计优化营商环境条例
  • 培训网站开发公司网站推广技巧和方法
  • 界面设计是什么专业seo赚钱吗
  • 做网站前端的软件seo资讯网
  • wordpress作者关注seo对网络推广的作用是什么?
  • 网站这么做排名检测
  • 宁夏信用建设官方网站百度推广客户端教程
  • 网站里面怎么做数字滚动重庆网站制作
  • 河北省住房与城乡建设厅网站广州网站排名推广
  • 建设购物网站需要多少费用产品营销策划方案3000字
  • 深圳住房和建设管理局官方网站互联网宣传推广
  • 南昌哪里做网站yandex搜索引擎入口
  • 做的丑的网站有哪些知乎怎么自己注册网站平台了
  • 便宜做网站优化英文
  • 阿里云域名空间网站建设今日国内新闻