SkyWeather2 Installation Guide Update

Several folks have brought to my attention my SkyWeather2 automated installation script fails to complete. The problem has been corrected and a new version of the script is available here.

The latest script has been tested with SkyWeather2 Version 027.1 and Raspberry PiOS dated October 30, 2021.


7 thoughts on “SkyWeather2 Installation Guide Update

  1. More specific :
    ERROR: Command errored out with exit status 1:
    command: /usr/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘/tmp/pip-install-eox7trio/mysqlclient_0eab14b0475f4db78e30295d803aaa96/'”‘”‘; __file__='”‘”‘/tmp/pip-install-eox7trio/mysqlclient_0eab14b0475f4db78e30295d803aaa96/'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(__file__);‘”‘”‘\r\n'”‘”‘, ‘”‘”‘\n'”‘”‘);f.close();exec(compile(code, __file__, ‘”‘”‘exec'”‘”‘))’ egg_info –egg-base /tmp/pip-pip-egg-info-z60x4yuu
    cwd: /tmp/pip-install-eox7trio/mysqlclient_0eab14b0475f4db78e30295d803aaa96/
    Complete output (15 lines):
    /bin/sh: 1: mysql_config: not found
    /bin/sh: 1: mariadb_config: not found
    /bin/sh: 1: mysql_config: not found
    Traceback (most recent call last):
    File “”, line 1, in
    File “/tmp/pip-install-eox7trio/mysqlclient_0eab14b0475f4db78e30295d803aaa96/”, line 15, in
    metadata, options = get_config()
    File “/tmp/pip-install-eox7trio/mysqlclient_0eab14b0475f4db78e30295d803aaa96/”, line 70, in get_config
    libs = mysql_config(“libs”)
    File “/tmp/pip-install-eox7trio/mysqlclient_0eab14b0475f4db78e30295d803aaa96/”, line 31, in mysql_config
    raise OSError(“{} not found”.format(_mysql_config_path))
    OSError: mysql_config not found
    mysql_config –version
    mariadb_config –version
    mysql_config –libs
    WARNING: Discarding (from (requires-python:>=3.5). Command errored out with exit status 1: python egg_info Check the logs for full command output.

    • My install script will not work with the latest SkyWeather2 framework. See this post.
      Until they create a script that creates the mySQL data structures, you will have to purchase their software on a SDCard.



  2. Hi
    I installed your script but had the follwoing error when securing the sql databases:
    pi@skyweather2:~/SDL_Pi_Skyweather2 $ sudo mysql -u root -p < WeatherSenseWireless.sql
    Enter password:
    ERROR 1046 (3D000) at line 5: No database selected
    pi@skyweather2:~/SDL_Pi_Skyweather2 $

    • Maurice,

      Thanks for the alert. I will update my script to accommodate the new database changes this week.


  3. In my haste / lack of time to fully research before ordering the SkyWeather2 kit I didn’t realize steps weren’t included for getting the stack up and running. Thanks for sharing this install guide, it was well written and the bash script worked great! RPI 3b running Buster.

    • Dan, thanks for the kind words. There are a lot of dependencies in the stack and I figured the only way to build it right was using an automation script. Good luck with your kit. Mine is working great.


Leave a Reply

Your email address will not be published. Required fields are marked *