问题
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."
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.
回答1:
My solution to nearly the same exact problem was simply that it needed to be installed with admin privileges, so that might be your issue also.
回答2:
Try it using Pip. download that https://bootstrap.pypa.io/get-pip.py and run it with your python.
then open a cmd window at your pip instal directory in my case: C:\Python27\Scripts
then type in: pip install -U PySide
来源:https://stackoverflow.com/questions/20588259/pyside-installation-error