2
votes

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.

2
are you sure you got the 32-bit version of the installer? - MattDMo
Yes. This is the hyperlink I used to download the setup: PySide-1.2.1.win32-py2.7.exe [download.qt-project.org]. Also, have tried reinstalling 3 times now. Still getting the same error. - Manas Chaturvedi
try to install PySide via setuptools, it will download the right version of binaries depending on your python version. Install setuptools [pypi.python.org/pypi/setuptools] and run the following command: easy_install PySide - rlacko
is there any other method? All I get after clicking on the download link of setuptools is a python code and I can't figure out what to do next. No other method for installing PySide? - Manas Chaturvedi

2 Answers

0
votes

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.

0
votes

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