Ok, I did that. Brand new install with the Raspberry Pi Imager (1.7.3) and 64 bit desktop Raspberry Pi OS.
This is the first login.
wfpiconsole@192.168.240.146’s password:
Linux weatherstation 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Sep 22 13:17:58 2022
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
wfpiconsole@weatherstation:~ $ curl -sSL https://peted-davis.github.io/wfpiconsole | bash
[✓] Root user check passed
[✓] Hardware check passed (aarch64)
[✓] OS check passed (Debian GNU/Linux 11 (bullseye))
================================
Installing WeatherFlow PiConsole
[✓] Checking for updated packages
[i] 122 updated packages available. Use ‘sudo apt upgrade’ to install
[i] WeatherFlow PiConsole dependency checks…
[✓] Checking for git
[✓] Checking for curl
[✓] Checking for rng-tools
[✓] Checking for build-essential
[✓] Checking for python3-dev
[✓] Checking for python3-pip
[✓] Checking for python3-setuptools
[i] Checking for libssl-dev (will be installed)
[i] Checking for libffi-dev (will be installed)
[i] Checking for libatlas-base-dev (will be installed)
[i] Checking for jq (will be installed)
[i] Installing WeatherFlow PiConsole Python modules…
[✓] Updating Python package manager
[✓] Installing Python module cython
[✓] Installing Python module websockets
[✓] Installing Python module numpy
[✓] Installing Python module pytz
[✓] Installing Python module ephem
[✓] Installing Python module packaging
[✓] Installing Python module cryptography
[✓] Installing Python module pyOpenSSL
[✓] Installing Python module certifi
[i] Kivy Python library dependency checks…
[✓] Checking for ffmpeg
[i] Checking for libsdl2-dev (will be installed)
[i] Checking for libsdl2-image-dev (will be installed)
[i] Checking for libsdl2-mixer-dev (will be installed)
[i] Checking for libsdl2-ttf-dev (will be installed)
[i] Checking for libportmidi-dev (will be installed)
[i] Checking for libswscale-dev (will be installed)
[i] Checking for libavformat-dev (will be installed)
[i] Checking for libavcodec-dev (will be installed)
[✓] Checking for zlib1g-dev
[i] Checking for libgstreamer1.0-dev (will be installed)
[✓] Checking for gstreamer1.0-plugins-base
[✓] Checking for gstreamer1.0-plugins-good
[i] Kivy Python library installation check (will be installed)
[✗] Installing Kivy Python library
Error: Unable to install Kivy Python library
Looking in indexes: Simple index, piwheels - Simple index
Collecting kivy==2.0.0
Downloading Kivy-2.0.0.tar.gz (23.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 3.2 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status ‘done’
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‘error’
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [128 lines of output]
[WARNING] [Config ] Older configuration version detected (0 instead of 21)
[WARNING] [Config ] Upgrading configuration in progress.
[INFO ] [Logger ] Record log in /home/wfpiconsole/.kivy/logs/kivy_23-02-05_0.txt
[INFO ] [Kivy ] v2.0.0
[INFO ] [Kivy ] Installed at “/tmp/pip-install-jmvli9c6/kivy_61ddcb3f153343849e58fee8e194d338/kivy/init.py”
[INFO ] [Python ] v3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110]
[INFO ] [Python ] Interpreter at “/usr/bin/python3”
:374: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
:377: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
:381: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Current directory is: /tmp/pip-install-jmvli9c6/kivy_61ddcb3f153343849e58fee8e194d338
Source and initial build directory is: /tmp/pip-install-jmvli9c6/kivy_61ddcb3f153343849e58fee8e194d338
Python path is:
/tmp/pip-install-jmvli9c6/kivy_61ddcb3f153343849e58fee8e194d338
/home/wfpiconsole/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process
/tmp/pip-build-env-wgud0th8/site
/usr/lib/python39.zip
/usr/lib/python3.9
/usr/lib/python3.9/lib-dynload
/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages
/tmp/pip-build-env-wgud0th8/normal/lib/python3.9/site-packages
/tmp/pip-install-jmvli9c6/kivy_61ddcb3f153343849e58fee8e194d338/kivy/modules
/home/wfpiconsole/.kivy/mods
Found Cython at /tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/Cython/__init__.py
Detected supported Cython version 0.29.21
Using this graphics system: OpenGL
GStreamer found via pkg-config
SDL2 found via pkg-config
SDL2: found SDL header at /usr/include/SDL2/SDL.h
SDL2: found SDL_mixer header at /usr/include/SDL2/SDL_mixer.h
SDL2: found SDL_ttf header at /usr/include/SDL2/SDL_ttf.h
SDL2: found SDL_image header at /usr/include/SDL2/SDL_image.h
WARNING: A problem occurred while running pkg-config --libs --cflags pangoft2 (code 1)
b"Package pangoft2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `pangoft2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'pangoft2' found\n"
ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
Traceback (most recent call last):
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/requirements.py", line 35, in __init__
parsed = parse_requirement(requirement_string)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/_parser.py", line 126, in _parse_requirement_details
marker = _parse_requirement_marker(
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/_parser.py", line 147, in _parse_requirement_marker
tokenizer.raise_syntax_error(
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/_tokenizer.py", line 163, in raise_syntax_error
raise ParserSyntaxError(
setuptools.extern.packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after name and no valid version specifier)
sys_platform == "win32"
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 212, in _warn_accidental_env_marker_misconfig
req = Requirement(parsed[1])
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/requirements.py", line 37, in __init__
raise InvalidRequirement(str(e)) from e
setuptools.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after name and no valid version specifier)
sys_platform == "win32"
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/wfpiconsole/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/wfpiconsole/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/wfpiconsole/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 484, in run_setup
super(_BuildMetaLegacyBackend,
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 1068, in <module>
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup
_install_setup_requires(attrs)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 78, in _install_setup_requires
dist.parse_config_files(ignore_option_errors=True)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 868, in parse_config_files
setupcfg.parse_configuration(
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 163, in parse_configuration
options.parse()
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 508, in parse
section_parser_method(section_options)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 761, in parse_section_extras_require
parsed = self._parse_section_to_dict_with_key(
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 458, in _parse_section_to_dict_with_key
value[key] = values_parser(key, val)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 763, in <lambda>
lambda k, v: self._parse_requirements_list(f"extras_require[{k}]", v)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 642, in _parse_requirements_list
_warn_accidental_env_marker_misconfig(label, value, parsed)
File "/tmp/pip-build-env-wgud0th8/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 217, in _warn_accidental_env_marker_misconfig
raise InvalidRequirement(msg) from ex
setuptools.extern.packaging.requirements.InvalidRequirement: One of the parsed requirements in `extras_require[gstreamer]` looks like a valid environment marker: 'sys_platform == "win32"'
Make sure that the config is correct and check https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#opt-2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
wfpiconsole@weatherstation:~ $
Looks like the same error as above.
I then downloaded both the first and second installation files, told the first to use the local copy of the second, and ran the first installation script. It failed with the same error as above.
I then modified the second installation file in just one place:
KIVY_VERSION=“2.1.0” (was 2.0.0)
Then re-ran the first installation script again and…
wfpiconsole@weatherstation:/tmp $ ./wfpiconsole-1.sh
[✓] Root user check passed
[✓] Hardware check passed (aarch64)
[✓] OS check passed (Debian GNU/Linux 11 (bullseye))
================================
Installing WeatherFlow PiConsole
[✓] Checking for updated packages
[i] 109 updated packages available. Use ‘sudo apt upgrade’ to install
[i] WeatherFlow PiConsole dependency checks…
[✓] Checking for git
[✓] Checking for curl
[✓] Checking for rng-tools
[✓] Checking for build-essential
[✓] Checking for python3-dev
[✓] Checking for python3-pip
[✓] Checking for python3-setuptools
[✓] Checking for libssl-dev
[✓] Checking for libffi-dev
[✓] Checking for libatlas-base-dev
[✓] Checking for jq
[i] Installing WeatherFlow PiConsole Python modules…
[✓] Updating Python package manager
[✓] Installing Python module cython
[✓] Installing Python module websockets
[✓] Installing Python module numpy
[✓] Installing Python module pytz
[✓] Installing Python module ephem
[✓] Installing Python module packaging
[✓] Installing Python module cryptography
[✓] Installing Python module pyOpenSSL
[✓] Installing Python module certifi
[i] Kivy Python library dependency checks…
[✓] Checking for ffmpeg
[✓] Checking for libsdl2-dev
[✓] Checking for libsdl2-image-dev
[✓] Checking for libsdl2-mixer-dev
[✓] Checking for libsdl2-ttf-dev
[✓] Checking for libportmidi-dev
[✓] Checking for libswscale-dev
[✓] Checking for libavformat-dev
[✓] Checking for libavcodec-dev
[✓] Checking for zlib1g-dev
[✓] Checking for libgstreamer1.0-dev
[✓] Checking for gstreamer1.0-plugins-base
[✓] Checking for gstreamer1.0-plugins-good
[i] Kivy Python library installation check (will be installed)
[✓] Installing Kivy Python library
[✓] Updating Kivy configuration for touch screen
[✓] Installing latest version of WeatherFlow PiConsole: v22.12.3
============================================
WeatherFlow PiConsole installation complete!
Start the console with: ‘wfpiconsole start’
wfpiconsole@weatherstation:/tmp
I think there are two separate issues:
- kivy version seems to need updating at least for the RPI-4 on Bullseye as it appears to fix critical bugs
- Installation as root succeeds except for the final chown error - so if that was fixed up it might otherwise work if installed as root.
After installation, I had to set:
[Display]
Fullscreen = 0
Otherwise all I got was a blank screen. But after changing that, it all seems to work fine.
As a feature request, I’d prefer to only have a dark mode when it’s actually dark - ie 30 mins before sunset and 30 mins after sunrise, and the rest of the time on a lighter colour palette. I haven’t looked into if that can be easily done yet though.