Good afternoon,
After confirmation from Sandy a wider audience is perhaps needed for this one.
Any guidance is appreciated. Thanks
Background, it’s a fresh install of Jessie, updated as of today on a Pi Zero 1.3 fitted with the Enviro pHAT
After following the below command it falls over toward the end.
curl https://get.pimoroni.com/envirophat | bash
It’s all fine until the end:
pi@raspberrypi:~ $ sudo curl -sS https://get.pimoroni.com/envirophat | bash
This script will install everything needed to use
Enviro pHAT
--- Warning ---
Always be careful when running scripts and commands
copied from the internet. Ensure they are from a
trusted source.
If you want to see what this script does before
running it, you should run:
\curl -sS get.pimoroni.com/envirophat
Note: Enviro pHAT requires I2C communication
Do you wish to continue? [y/N] y
Checking hardware requirements...
I2C Already Enabled
Done!
Checking install requirements...
Done!
Checking for Python 2 library...
Found!
Python 2 module found. Reinstall/Update? [y/N] y
Collecting envirophat
Installing collected packages: envirophat
Successfully installed envirophat-0.0.4
Done!
Checking for Python 3 library...
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip3')()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in load_entr y_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in load_ent ry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load
['__name__'])
File "/usr/lib/python3/dist-packages/pip/__init__.py", line 74, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/lib/python3/dist-packages/pip/vcs/mercurial.py", line 9, in <module >
from pip.download import path_to_url
File "/usr/lib/python3/dist-packages/pip/download.py", line 25, in <module>
from requests.compat import IncompleteRead
ImportError: cannot import name 'IncompleteRead'
Installing Enviro pHAT library for Python 3...
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip3')()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load
['__name__'])
File "/usr/lib/python3/dist-packages/pip/__init__.py", line 74, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/lib/python3/dist-packages/pip/vcs/mercurial.py", line 9, in <module>
from pip.download import path_to_url
File "/usr/lib/python3/dist-packages/pip/download.py", line 25, in <module>
from requests.compat import IncompleteRead
ImportError: cannot import name 'IncompleteRead'
Python 3 library install failed!
If problems persist, visit forums.pimoroni.com for support
pi@raspberrypi:~ $