PiCapture › PiVideo install problem
November 26, 2018 at 10:29 am #1844
On raspi 3B. EZ wifibroadcast build 1.6RC6 PIP version is 1.5.6 , upgrade pip from this version is complex. Mass of work ! And some may be broken.
Board is working but some features is absent without control. These circumstances make the device useless.
sudo pip install pivideo
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 122, in main
status = self.run(options, args)
File “/usr/lib/python2.7/dist-packages/pip/commands/install.py”, line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 1178, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File “/usr/lib/python2.7/dist-packages/pip/index.py”, line 194, in find_requirement
page = self._get_page(main_index_url, req)
File “/usr/lib/python2.7/dist-packages/pip/index.py”, line 568, in _get_page
File “/usr/lib/python2.7/dist-packages/pip/index.py”, line 694, in get_page
req, link, “connection error: %s” % exc, url,
TypeError: __str__ returned non-string (type Error)November 26, 2018 at 10:41 am #1847
The errors hint that your system is having connection errors of some kind that are causing an issue for pip. If you do not have a good internet connection, you can download the PiVideo software from our downloads page and simply place the files in the directory you want to use. Please not that PiVideo requires the “future” package for compatibility with Python 2, and will need to be installed if it isn’t already.November 26, 2018 at 11:22 am #1848
No – this not problem in internet connection . Read please this small “top of the iceberg” https://stackoverflow.com/questions/40431384/pip-install-not-working-debian
pip 1.5.6 in apt-get repository for raspi python 2.7 is old, and not have new TLS protocol. But for pip upgrade >1.5.6 we need to do a lot of interdependent actions, as a result, a lot of things will stop working.
The best thing to do for LS : install SD with EZ Wifibroadcast, connect ethernet port to router . And try install pivideo:-) And after that write How-to.
EZ wifibroadcast is great project and Picapture must supplied them as described: https://github.com/bortek/EZ-WifiBroadcast/wiki/AddOns-~-HDMI-in-CardsNovember 26, 2018 at 11:40 am #1849
And if we install from pivideo from downloaded zip – tadam !
Traceback (most recent call last):
File “/usr/local/bin/pivideo”, line 9, in <module>
load_entry_point(‘pivideo==0.1.13’, ‘console_scripts’, ‘pivideo’)()
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2476, in load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2190, in load
File “build/bdist.linux-armv7l/egg/pivideo.py”, line 28, in <module>
ImportError: No module named serialNovember 26, 2018 at 12:00 pm #1850
If you look at the “pivideo_class.py” file you can see the various packages that are imported, including smbus, serial, and time. The smbus package is optional, and only required for I2C communication with PiCapture. These packages are all installed by default on the standard raspbian distribution, but apparently must be installed manually with the EZ wifibroadcast distribution that you are using. PIP would be able to install the missing packages, but apparently is broken on your system. If you are unable to resolve the PIP issues, then you will need to install them manually. We aren’t able to provide support for every distribution, but the general process is described online:
https://stackoverflow.com/questions/13270877/how-to-manually-install-a-pypi-module-without-pip-easy-installNovember 26, 2018 at 12:30 pm #1851
Small how-to for EZ Wifibroadcast:
1. Take control for TX side: USB keyboard + HDMI monitor.
2. Alt + F12 login into shell.
3. #sudo raspi-config > 9 Advanced option > A6 I2C > Enable. >#reboot
4. #cd /home/
5. #wget –no-check-certificate https://files.pythonhosted.org/packages/cc/74/11b04703ec416717b247d789103277269d567db575d2fd88f25d9767fe3d/pyserial-3.4.tar.gz
6. #wget –no-check-certificate https://lintestsystems.com/wp-content/uploads/2018/03/pivideo-0.1.13.zip
7. extract pivideo and pyserial archives.
8. #cd pivideo-0.1.13/ > #python setup.py build >#python setup.py install
9. #cd pyserial-3.4/ > #python setup.py build >#python setup.py install
10. check all : >#pivideo –query all
Must answer something :
PiCapture HD1 is ready
No active video detected
Selected video source is: auto
Active video source is: hdmi
Raspberry Pi camera port is not active
Video processor firmware version: 07
You must be logged in to reply to this topic.