PiCapture PiVideo install problem


Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #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.
    This error:
    sudo pip install pivideo
    Downloading/unpacking pivideo
    Cleaning up…
    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)


    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.


    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-Cards


    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
    return ep.load()
    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 serial


    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:


    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
zoloteninPiVideo install problem