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
Python3 Support #77
Comments
Python 3 isn't officially supported, although some people have fiddled with a few lines and got it to work, you're invoking Have a look at #66 for more details |
Thanks, took a while as a noob to decipher #66, full sequence is: git clone https://github.com/willprice/python-omxplayer-wrapper search for import urlparse change to search for def _setup_omxplayer_process change second line to search for return long(self._get_properties_interface().Duration()) sudo python3 setup.py install |
Cool, thanks for providing the steps in sequence for someone else looking how to do this. When I eventually get around to making this compatible for both py2 and py3 I'll refer back to this. |
Python 3 support has been implemented in https://github.com/willprice/python-omxplayer-wrapper/tree/python_2_3_support I need beta testers to see whether this works with their applications. Ideally please also run the smoke tests and report any issues. |
Completed in 809614b If problems arise on py3 and not py2 or vica versa, please do file an issue. |
No module named 'omxplayer' Link is dead: https://github.com/willprice/python-omxplayer-wrapper/tree/python_2_3_support |
Issue Report
Description
When using omxplayer-wrapper with Python 3 I get the error:
No module named 'omxplayer'
I saw a previous (closed) thread that suggested:
sudo apt-get install python3-dbus
But it makes no difference for me, I still get the same error.
Problem reproduction
git clone https://github.com/willprice/python-omxplayer-wrapper
sudo apt-get install python-dbus
sudo apt-get install python3-dbus
cd python-omxplayer-wrapper
sudo python setup.py install
reboot
Then load and run the sample in Python 3.
Environment details
Raspbian on Pi2.
TIA.
The text was updated successfully, but these errors were encountered: