thp / pyotherside

Python Bindings for Qt 5 and Qt 6. Allows you to access a CPython 3 interpreter directly from your Qt QML user interface code.
https://thp.io/2011/pyotherside/
Other
364 stars 49 forks source link

ImportError: No module named 'commands' #44

Closed 0312birdzhang closed 9 years ago

0312birdzhang commented 9 years ago

I used io.thp.pyotherside 1.4,it seems not contains commands module. On jolla,i use terminal,i can use import commands

thp commented 9 years ago

As documented in https://docs.python.org/2/library/commands.html:

Deprecated since version 2.6: The commands module has been removed in Python 3. Use the subprocess module instead.

PyOtherSide runs using Python 3, use subprocess instead:

https://docs.python.org/3/library/subprocess.html

0312birdzhang commented 9 years ago

:sweat_smile: Thank you.