pyside / PySide

ATTENTION: This project is deprecated, please refer to PySide2
https://wiki.qt.io/PySide2
GNU Lesser General Public License v2.1
291 stars 66 forks source link

Pypi installation fail. #128

Closed 4e1e0603 closed 8 years ago

4e1e0603 commented 8 years ago

File "C:\Users{user}\AppData\Local\Temp\pip-build-3iy1pet1\pyside\popenasync.py", line 26, in if subprocess.mswindows: AttributeError: module 'subprocess' has no attribute 'mswindows'

Win7 OS; Python 3.5

stlehmann commented 8 years ago

I get the same error on Mac OS X 10.10.5 with python3.5:

Collecting pyside
  Downloading PySide-1.2.2.tar.gz (9.3MB)
    100% |████████████████████████████████| 9.3MB 42kB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/private/var/folders/8_/4r055br17k9_g6_0dlck12tc0000gn/T/pip-build-7k7jhzah/pyside/setup.py", line 89, in <module>
        from utils import rmtree
      File "/private/var/folders/8_/4r055br17k9_g6_0dlck12tc0000gn/T/pip-build-7k7jhzah/pyside/utils.py", line 10, in <module>
        import popenasync
      File "/private/var/folders/8_/4r055br17k9_g6_0dlck12tc0000gn/T/pip-build-7k7jhzah/pyside/popenasync.py", line 26, in <module>
        if subprocess.mswindows:
    AttributeError: module 'subprocess' has no attribute 'mswindows'

``
ctismer commented 8 years ago

This has been fixed, see the latest commit history. Update to the latest revision and build with --ignore-git, otherwise you always get the old 1.2.2 version. 1.2.3 has not yet been tagged.

cchriste commented 2 years ago

I'm getting the same error on OSX today with 1.2.4. Installing from pip. :(

fredrikaverpil commented 2 years ago

Pyside is very old by now. You can install the latest version via pip install pyside6.