Should re-install the OS and have a  look at these links:

https://github.com/merbanan/rtl_433
https://github.com/matthewwall/weewx-sdr
https://github.com/weewx/weewx/wiki/sdr-rpi-recipe



On Wednesday, August 7, 2019 at 3:13:06 PM UTC-4, Steve London wrote:

> Trying to install weewx on Raspbian. Python has never (successfully) been 
> installed on this rPi. Here's the errors. Suggestions ?
>
> Thanks !
>
> pi@raspberrypi:~ $ sudo apt-get install weewx
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> weewx is already the newest version (3.9.2-1).
> The following packages were automatically installed and are no longer 
> required:
>   libfile-copy-recursive-perl openbsd-inetd update-inetd
> Use 'sudo apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded.
> 5 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Setting up python-configobj (5.0.6-2) ...
>   File "/usr/lib/python2.7/encodings/__init__.py", line 1
> SyntaxError: Non-ASCII character '\xa4' in file 
> /usr/lib/python2.7/encodings/__init__.py on line 1, but no encoding 
> declared; see http://python.org/dev/peps/pep-0263/ for details
> dpkg: error processing package python-configobj (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Setting up python-usb (1.0.0-1) ...
>   File "/usr/lib/python2.7/encodings/__init__.py", line 1
> SyntaxError: Non-ASCII character '\xa4' in file 
> /usr/lib/python2.7/encodings/__init__.py on line 1, but no encoding 
> declared; see http://python.org/dev/peps/pep-0263/ for details
> dpkg: error processing package python-usb (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Setting up python-imaging (4.0.0-4) ...
>   File "/usr/lib/python2.7/encodings/__init__.py", line 1
> SyntaxError: Non-ASCII character '\xa4' in file 
> /usr/lib/python2.7/encodings/__init__.py on line 1, but no encoding 
> declared; see http://python.org/dev/peps/pep-0263/ for details
> dpkg: error processing package python-imaging (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Setting up python-cheetah (2.4.4-4) ...
>   File "/usr/lib/python2.7/encodings/__init__.py", line 1
> SyntaxError: Non-ASCII character '\xa4' in file 
> /usr/lib/python2.7/encodings/__init__.py on line 1, but no encoding 
> declared; see http://python.org/dev/peps/pep-0263/ for details
> dpkg: error processing package python-cheetah (--configure):
>  subprocess installed post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of weewx:
>  weewx depends on python-configobj (>= 4.5); however:
>   Package python-configobj is not configured yet.
>  weewx depends on python-cheetah (>= 2.0); however:
>   Package python-cheetah is not configured yet.
>  weewx depends on python-imaging (>= 1.1.6) | python-pil (>= 5.1.0) | 
> python-pillow (>= 5.1.0); however:
>   Package python-imaging is not configured yet.
>   Version of python-pil:armhf on system is 4.0.0-4.
>   Package python-pillow is not installed.
>   Version of python-pillow on system, provided by python-pil:armhf, is 
> <none>.
>  weewx depends on python-usb (>= 0.4); however:
>   Package python-usb is not configured yet.
>
> dpkg: error processing package weewx (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  python-configobj
>  python-usb
>  python-imaging
>  python-cheetah
>  weewx
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3e626fd6-4379-4c4b-b93f-3bf041dc9201%40googlegroups.com.

Reply via email to