Unicorn Hat HD install problems


#1

Trying to install the s/w for the uncorn hat hd with the latest rasbian and updates (SD card built today, on a RPi 2) using the all encompassing script I get errors… log file below:-

/usr/bin/pip2 run on Mon Apr 10 10:44:52 2017
Downloading/unpacking unicornhathd
Getting page https://pypi.python.org/simple/unicornhathd/
Cleaning up…
Exception:
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
session=self.session,
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)


#2

I had this error and solved it by realising I was running an explorer hat in the background. You should also reboot and check nothing else is connected to the pi.


#3

Nothing else connected and have rebooted several times!


#4

Install now works… no idea of what changed!