Pyside 安装错误 [英] Pyside Installation Error
问题描述
我有一个 32 位的 Windows 7 操作系统.今天,我尝试下载 PySide 安装程序.但是,在我尝试运行下载的文件后,出现以下错误:PySide 安装程序无效或损坏."
I have a 32-bit Windows 7 OS. Today, I tried downloading the PySide setup program. However, after I try running the downloaded file, I get the following error: "PySide Setup program invalid or damaged."
为什么我会得到这个?我最近开始了一门关于使用 Qt 框架使用 Python 构建 GUI 应用程序的课程,并且需要 PySide.顺便说一句,我使用 Python 2.7.
Why am I getting this? I have recently started a course on building GUI applications with Python using the Qt framework, and need PySide for the same. I use Python 2.7 btw.
推荐答案
尝试使用 Pip.下载 https://bootstrap.pypa.io/get-pip.py 并运行用你的蟒蛇.
Try it using Pip. download that https://bootstrap.pypa.io/get-pip.py and run it with your python.
然后在我的 pip 安装目录中打开一个 cmd 窗口:C:\Python27\Scripts
then open a cmd window at your pip instal directory in my case: C:\Python27\Scripts
然后输入:pip install -U PySide
这篇关于Pyside 安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!