adafruit / pi_video_looper

Application to turn your Raspberry Pi into a dedicated looping video playback device, good for art installations, information displays, or just playing cat videos all day.
GNU General Public License v2.0
463 stars 241 forks source link

Issue during ./install.sh (pyudev) #43

Closed m-p-3 closed 6 years ago

m-p-3 commented 6 years ago

I'm trying to build another Raspberry Pi with the video looper, and it seems the install is having issue under the Installing video_looper program... section, and remains stuck at installing pyudev.

Installing dependencies...
==========================
Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.3).
git is already the newest version (1:2.11.0-3+deb9u2).
python-dev is already the newest version (2.7.13-2).
supervisor is already the newest version (3.3.1-1+deb9u1).
omxplayer is already the newest version (20170330~134343-2).
python-pip is already the newest version (9.0.1-2+rpt1).
python-pygame is already the newest version (1.9.3+dfsg-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing hello_video...
=========================
Cloning into 'pi_hello_video'...
remote: Counting objects: 32, done.
remote: Total 32 (delta 0), reused 0 (delta 0), pack-reused 32
Unpacking objects: 100% (32/32), done.
make: Entering directory '/home/ladmin/pi_video_looper/pi_hello_video/libs/ilclient'
for i in ilclient.o ilcore.o; do (if test -e "$i"; then ( rm $i ); fi ); done
make: Leaving directory '/home/ladmin/pi_video_looper/pi_hello_video/libs/ilclient'
make: Entering directory '/home/ladmin/pi_video_looper/pi_hello_video/hello_video'
for i in video.o; do (if test -e "$i"; then ( rm $i ); fi ); done
make: Leaving directory '/home/ladmin/pi_video_looper/pi_hello_video/hello_video'
make: Entering directory '/home/ladmin/pi_video_looper/pi_hello_video/libs/ilclient'
cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I./ -I/opt/vc/src/hello_pi/libs/ilclient -I/opt/vc/src/hello_pi/libs/vgfont -g -c ilclient.c -o ilclient.o -Wno-deprecated-declarations
cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I./ -I/opt/vc/src/hello_pi/libs/ilclient -I/opt/vc/src/hello_pi/libs/vgfont -g -c ilcore.c -o ilcore.o -Wno-deprecated-declarations
ar r libilclient.a ilclient.o ilcore.o
ar: creating libilclient.a
rm ilcore.o ilclient.o
make: Leaving directory '/home/ladmin/pi_video_looper/pi_hello_video/libs/ilclient'
make: Entering directory '/home/ladmin/pi_video_looper/pi_hello_video/hello_video'
cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I./ -I/opt/vc/src/hello_pi/libs/ilclient -I/opt/vc/src/hello_pi/libs/vgfont -g -c video.c -o video.o -Wno-deprecated-declarations
cc -o hello_video.bin -Wl,--whole-archive video.o -lilclient -L/opt/vc/lib/ -lbrcmGLESv2 -lbrcmEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lm -L../libs/ilclient -L../libs/vgfont -Wl,--no-whole-archive -rdynamic
rm video.o
make: Leaving directory '/home/ladmin/pi_video_looper/pi_hello_video/hello_video'
cp hello_video.bin /usr/local/bin/
Installing video_looper program...
==================================
running install
running bdist_egg
running egg_info
writing requirements to Adafruit_Video_Looper.egg-info/requires.txt
writing Adafruit_Video_Looper.egg-info/PKG-INFO
writing top-level names to Adafruit_Video_Looper.egg-info/top_level.txt
writing dependency_links to Adafruit_Video_Looper.egg-info/dependency_links.txt
reading manifest file 'Adafruit_Video_Looper.egg-info/SOURCES.txt'
writing manifest file 'Adafruit_Video_Looper.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/usb_drive_mounter.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/model.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/directory.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/hello_video.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/video_looper.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/usb_drive.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/__init__.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
copying build/lib.linux-armv7l-2.7/Adafruit_Video_Looper/omxplayer.py -> build/bdist.linux-armv7l/egg/Adafruit_Video_Looper
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/usb_drive_mounter.py to usb_drive_mounter.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/model.py to model.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/directory.py to directory.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/hello_video.py to hello_video.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/video_looper.py to video_looper.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/usb_drive.py to usb_drive.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_Video_Looper/omxplayer.py to omxplayer.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_Video_Looper.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_Video_Looper.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_Video_Looper.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_Video_Looper.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_Video_Looper.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/Adafruit_Video_Looper-1.0.0-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing Adafruit_Video_Looper-1.0.0-py2.7.egg
Removing /usr/local/lib/python2.7/dist-packages/Adafruit_Video_Looper-1.0.0-py2.7.egg
Copying Adafruit_Video_Looper-1.0.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adafruit-Video-Looper 1.0.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/dist-packages/Adafruit_Video_Looper-1.0.0-py2.7.egg
Processing dependencies for Adafruit-Video-Looper==1.0.0
Searching for pyudev
Reading https://pypi.python.org/simple/pyudev/
Download error on https://pypi.python.org/simple/pyudev/: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:661) -- Some packages may not be found!
Couldn't find index page for 'pyudev' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
m-p-3 commented 6 years ago

Update: Fixed it by apt install python-pyudev