Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip - AttributeError: module 'subprocess' has no attribute 'mswindows' #10

Open
gliberal opened this issue Dec 15, 2018 · 0 comments
Open

Comments

@gliberal
Copy link

On ArchLinux, when doing pip --user install WebUI, the installation fails due to PySide version :

Collecting pyside==1.2.1 (from WebUI)
  Using cached https://files.pythonhosted.org/packages/f1/32/63872fdc1d9e0de5aa0b05b9d1a17d868851c619cdc6998dd9d853556f1b/PySide-1.2.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-f_q789bo/pyside/setup.py", line 82, in <module>
        from utils import rmtree
      File "/tmp/pip-install-f_q789bo/pyside/utils.py", line 10, in <module>
        import popenasync
      File "/tmp/pip-install-f_q789bo/pyside/popenasync.py", line 26, in <module>
        if subprocess.mswindows:
    AttributeError: module 'subprocess' has no attribute 'mswindows'

I have the same error in Python 3.6 & 3.7. I know I could use the pip install with your git repo directly but I prefer to avoid that in my requirements.txt.

Thanks for your work and have a nice day :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant