I had not spotted that! It appears that, although I have 3.7 on my
laptop, 3.7 is not a part of the latest standard Raspbian release. I
will install this later today and try again.
Dave
On 03/12/2018 10:12, Alan Gauld via Tutor wrote:
On 02/12/2018 10:29, Dave Hill wrote:
Having 'graduated' to Python 3.7, I thought I would explore
Traceback (most recent call last):
File "/home/pi/Code/TestVideo#4.py", line 31, in <module>
player.playVideo(FILE, 'HDMI')
File "/home/pi/Code/VideoPlayer.py", line 51, in playVideo
out = omxp.communicate()
File "/usr/lib/python3.5/subprocess.py", line 801, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
The first thing I notice is that you say you are using
Python 3.7 yet the libs appear to be 3.5.
It could be some kind of path problem?
Or maybe how you start Python. Do you explicitly call python37?
I don't have the time to go through the code in detail just now.
If nobody else picks it up I'll take a closer look later.
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor