I've now installed from setup.py on three different devices (a Pi, a
Beaglebone, and a CHIP) all running Debian, so I thought I'd post my
installation instructions, since the steps in the manual
(http://www.weewx.com/docs/setup.htm) for Debian didn't work for me and led
to some epic troubleshooting battles.
The main thing to avoid (in my experience) is installing PIL using apt-get.
Instead install Pillow ("the friendly fork of PIL") via pip. And installing
pip via apt-get didn't work for me either. Between those two packages I
probably spent 6 hours of troubleshooting, so hopefully this helps someone.
The steps to get things installed in Debian:
apt-get install python-dev
apt-get install python-cheetah
apt-get install python-configobj
apt-get install python-serial
apt-get install python-usb
apt-get install mysql-client
apt-get install python-mysqldb
apt-get install ftp
# install pip using wget, not apt-get
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
# install Pillow instead of PIL
apt-get -y install libfreetype6-dev # need this first or get libfreetype
errors
apt-get -y install libjpeg-dev
pip install pillow
pip install pyephem
# install weewx. If the URL changes, get new from http://weewx.com/downloads
sudo wget http://weewx.com/downloads/weewx-3.6.2.tar.gz
sudo tar -xzvf weewx-3.6.2.tar.gz
cd weewx-3.6.2
./setup.py build
sudo ./setup.py install
# experience joy
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.