Closed stefancrain closed 6 years ago
As far as I can tell, your first error was a one-off hiccup on Apt's part. I couldn't replicate it.
The DEPRECATION
warning output by pip list
is interesting, though. What do you see if you run:
pip --version
and pip3 --version
Any success with this since? I'm going to close this issue, but you're welcome to re-open if you're still having issues.
Fresh (/updated) raspbian stretch install:
$ curl https://get.pimoroni.com/microdotphat | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 38511 100 38511 0 0 80315 0 --:--:-- --:--:-- --:--:-- 80398
This script will install everything needed to use
Micro Dot pHAT
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 https://get.pimoroni.com/microdotphat'
Support for your operating system is experimental. Please visit
forums.pimoroni.com if you experience issues with this product.
Note: Micro Dot pHAT requires I2C communication
Do you wish to continue? [y/N] y
Checking environment...
Updating apt indexes...
...............
......Installing python-pip...
Extracting templates from packages: 100%
......Installing python3-pip...
.........
Checking hardware requirements...
I2C must be enabled for Micro Dot pHAT to work
...No passwd entry for user 'pi'
...No passwd entry for user 'pi'
I2C is now enabled
Checking packages required by I2C interface...
.................................DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
Unable to install smbus for python 2!
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
Unable to install smbus for python 3!
Micro Dot pHAT comes with examples and documentation that you may wish to install.
Performing a full install will ensure those resources are installed,
along with all required dependencies. It may however take a while!
Do you wish to perform a full install? [y/N] y
Checking for dependencies...
python-numpy is required
Installing python-numpy...
python3-numpy is required
Installing python3-numpy...
Installing python-microdotphat...
install ok installed
Installing python3-microdotphat...
install ok installed
Checking for additional software...
Installing git...
Downloading examples and documentation...
Resources for your Micro Dot pHAT were copied to
/home/xxx/Pimoroni/microdotphat
All done. Enjoy your Micro Dot pHAT!
Some packages could not be installed, review the output for details!
Support for your operating system is experimental. Please visit
forums.pimoroni.com if you experience issues with this product.
$ pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
$ pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)
$ dpkg -l | grep python-smbus
ii python-smbus:armhf 3.1.2-3 armhf Python bindings for Linux SMBus access through i2c-dev
$ dpkg -l | grep python3-smbus
ii python3-smbus:armhf 3.1.2-3 armhf Python 3 bindings for Linux SMBus access through i2c-dev
Hi all,
I'm hoping you can update this script to work with the most recent release of Raspbian / Jesse.
I'm seeing some errors on a fresh install, I'm sure I wont be the only one.
I canceled, hoping I could document this and move on.
From there I can attach the hat and run an example.