Closed tarheelz closed 2 years ago
Thank you for reporting. This is already fixed in the upcoming version 0.22 of astroweather. Sadly I had very little time recently but will try to make a new release in the next few days. The KeyError was caused by a not properly documented weather type of 7timer and I read over it, so I missed it. CHANGELOG
Hi. I just tried to install v.0.22.0 and it fails with a "could not load config flow: undefined" in the GUI and in the logs I find:
2022-07-10 11:39:02 ERROR (SyncWorker_19) [homeassistant.util.package] Unable to install package pyastroweatherio==0.22.0: error: subprocess-exited-with-error
× Building wheel for h3 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [9 lines of output] File "/tmp/pip-build-env-15ph7_c9/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 613, in setup cmkr = cmaker.CMaker(cmake_executable) File "/tmp/pip-build-env-15ph7_c9/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 141, in init self.cmake_version = get_cmake_version(self.cmake_executable) File "/tmp/pip-build-env-15ph7_c9/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 95, in get_cmake_version raise SKBuildError( Traceback (most recent call last):
Problem with the CMake installation, aborting build. CMake executable is cmake
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for h3 ERROR: Could not build wheels for h3, which is required to install pyproject.toml-based projects
Futher down in the log there is the line: homeassistant.requirements.RequirementsNotFound: Requirements for astroweather not found: ['pyastroweatherio==0.22.0']
Just holler if you need more info (I am on 2022.07.2, on Home Assistant OS)
Cheers, F.
Hi. I just tried to install v.0.22.0 and it fails with a "could not load config flow: undefined" in the GUI and in the logs I find:
Same issue for me except I had been using it for a while. Seems to have broken starting with HA 2022.7.x...
Hmm, interesting. My dev environment is on 2022.8 and my live HA is on 2022.7.2. Did you try to restart HA?
Yes, numerous times since yesterday for other reasons. Today I deleted the integration and now I can't add it back...
I've just re-downloaded the integration in HACS and am restarting...
Now I have this...
and it's stuck.
Logger: homeassistant.util.package
Source: util/package.py:99
First occurred: 12:36:14 PM (3 occurrences)
Last logged: 12:37:47 PM
Unable to install package pyastroweatherio==0.22.0: error: subprocess-exited-with-error × Building wheel for h3 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [9 lines of output] File "/tmp/pip-build-env-k_6342eh/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 613, in setup cmkr = cmaker.CMaker(cmake_executable) File "/tmp/pip-build-env-k_6342eh/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 141, in __init__ self.cmake_version = get_cmake_version(self.cmake_executable) File "/tmp/pip-build-env-k_6342eh/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 95, in get_cmake_version raise SKBuildError( Traceback (most recent call last): Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for h3 ERROR: Could not build wheels for h3, which is required to install pyproject.toml-based projects
Unable to install package pyastroweatherio==0.22.0: error: subprocess-exited-with-error × Building wheel for h3 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [9 lines of output] File "/tmp/pip-build-env-ljs4w12c/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 613, in setup cmkr = cmaker.CMaker(cmake_executable) File "/tmp/pip-build-env-ljs4w12c/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 141, in __init__ self.cmake_version = get_cmake_version(self.cmake_executable) File "/tmp/pip-build-env-ljs4w12c/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 95, in get_cmake_version raise SKBuildError( Traceback (most recent call last): Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for h3 ERROR: Could not build wheels for h3, which is required to install pyproject.toml-based projects
Unable to install package pyastroweatherio==0.22.0: error: subprocess-exited-with-error × Building wheel for h3 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [9 lines of output] File "/tmp/pip-build-env-nlgeloeo/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 613, in setup cmkr = cmaker.CMaker(cmake_executable) File "/tmp/pip-build-env-nlgeloeo/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 141, in __init__ self.cmake_version = get_cmake_version(self.cmake_executable) File "/tmp/pip-build-env-nlgeloeo/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 95, in get_cmake_version raise SKBuildError( Traceback (most recent call last): Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for h3 ERROR: Could not build wheels for h3, which is required to install pyproject.toml-based projects
Uninstalled the integration in HACS - restart not required and confirmed /config/custom_components/astroweather did not exist. Reinstalled integration in HACS, restarted and tried reinstalling it in HA but same errors:
Logger: homeassistant.util.package
Source: util/package.py:99
First occurred: 12:51:18 PM (1 occurrences)
Last logged: 12:51:18 PM
Unable to install package pyastroweatherio==0.22.0: error: subprocess-exited-with-error × Building wheel for h3 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [9 lines of output] File "/tmp/pip-build-env-vhok01ym/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 613, in setup cmkr = cmaker.CMaker(cmake_executable) File "/tmp/pip-build-env-vhok01ym/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 141, in __init__ self.cmake_version = get_cmake_version(self.cmake_executable) File "/tmp/pip-build-env-vhok01ym/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 95, in get_cmake_version raise SKBuildError( Traceback (most recent call last): Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for h3 ERROR: Could not build wheels for h3, which is required to install pyproject.toml-based projects
Yes, numerous times in last couple of days for other reasons but the integration failed to load each time. I deleted the integration and now I can't add it back...
I released 0.22.0 today, so which version did you test in the last couple of days?
Just now it is 0.22.0
Now that I think about it, I believe my issue started with your release of 0.22.0. I think it was fine before...
Duplicate of #17
In case it helps..... I reverted back to 2022.06.7 as too many things stopped working (mainly integrations depending on html or something like that), but the 0.22.0 version of Astroweather throws the same error under 2022.06.7, so the error is (most likely) not triggered by 2022.7.x (and the higher version of python). Let me know if I can test something for you or create error logs or anything. More than willing to help squash this bug ;-)
As of now, it seems to be somehow related to Rpi installations of HassOS / supervised.
Please try installing the pyastroweatherio
package on Hass OS directly to get some more detail about the error and report back.
pip install pyastroweatherio
I am on HASS Supervised on ODROID Blue...
Will do today. I'm on hassos 8.2 on odroid blue.
OK. There we go...
`➜ ~ pip install pyastroweatherio
Looking in links: https://wheels.home-assistant.io/musllinux/
Collecting pyastroweatherio
Downloading pyastroweatherio-0.22.0.tar.gz (10 kB)
Preparing metadata (setup.py) ... done
Collecting aiohttp
Downloading https://wheels.home-assistant.io/musllinux/aiohttp-3.8.1-cp310-cp310-musllinux_1_2_aarch64.whl (559 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 559.5/559.5 kB 6.0 MB/s eta 0:00:00
Collecting pyephem
Downloading pyephem-9.99.tar.gz (1.4 kB)
Preparing metadata (setup.py) ... done
Collecting timezonefinder
Downloading timezonefinder-6.0.2-py3-none-any.whl (45.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 MB 2.6 MB/s eta 0:00:00
Collecting charset-normalizer<3.0,>=2.0
Downloading charset_normalizer-2.1.0-py3-none-any.whl (39 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting frozenlist>=1.1.1
Downloading https://wheels.home-assistant.io/musllinux/frozenlist-1.3.0-cp310-cp310-musllinux_1_2_aarch64.whl (37 kB)
Collecting yarl<2.0,>=1.0
Downloading https://wheels.home-assistant.io/musllinux/yarl-1.7.2-cp310-cp310-musllinux_1_2_aarch64.whl (127 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.1/127.1 kB 3.7 MB/s eta 0:00:00
Collecting attrs>=17.3.0
Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 33.2 MB/s eta 0:00:00
Collecting aiosignal>=1.1.2
Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting multidict<7.0,>=4.5
Downloading https://wheels.home-assistant.io/musllinux/multidict-6.0.2-cp310-cp310-musllinux_1_2_aarch64.whl (32 kB)
Collecting ephem
Downloading ephem-4.1.3-cp310-cp310-musllinux_1_1_aarch64.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 3.8 MB/s eta 0:00:00
Collecting h3<4.0.0,>=3.7.3
Downloading h3-3.7.4.tar.gz (178 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.4/178.4 kB 2.2 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy<2.0,>=1.22
Downloading https://wheels.home-assistant.io/musllinux/numpy-1.23.1-cp310-cp310-musllinux_1_2_aarch64.whl (10.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.8/10.8 MB 2.2 MB/s eta 0:00:00
Collecting idna>=2.0
Downloading idna-3.3-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 3.5 MB/s eta 0:00:00
Using legacy 'setup.py install' for pyastroweatherio, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pyephem, since package 'wheel' is not installed.
Building wheels for collected packages: h3
Building wheel for h3 (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for h3 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [66 lines of output]
--------------------------------------------------------------------------------
-- Trying "Ninja" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-diao3opa/h3_bf40cdd58bb341d19cad4b6d38a87e4a/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja" generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying "Unix Makefiles" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-diao3opa/h3_bf40cdd58bb341d19cad4b6d38a87e4a/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Unix Makefiles" generator - failure
--------------------------------------------------------------------------------
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.
Building Linux wheels for Python 3.10 requires a compiler (e.g gcc).
But scikit-build does *NOT* know how to install it on alpine
To build compliant wheels, consider using the manylinux system described in PEP-513.
Get it with "dockcross/manylinux-x64" docker image:
https://github.com/dockcross/dockcross#readme
For more details, please refer to scikit-build documentation:
http://scikit-build.readthedocs.io/en/latest/generators.html#linux
********************************************************************************
[end of output]
`
Hi,
Could the following two lines from the above pasted bunch be at the root of the problem?
"Building Linux wheels for Python 3.10 requires a compiler (e.g gcc). But scikit-build does NOT know how to install it on alpine"
If you would like me to test something else out, just holler.
First time I ran your command I ran it from the terminal within home-assistant. I now re-ran it, login in via SSH and that gives more info:
`➜ ~ pip install pyastroweatherio Collecting pyastroweatherio Downloading pyastroweatherio-0.22.0.tar.gz (10 kB) Preparing metadata (setup.py) ... done Collecting aiohttp Downloading aiohttp-3.8.1-cp310-cp310-musllinux_1_1_aarch64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 3.3 MB/s eta 0:00:00 Collecting pyephem Downloading pyephem-9.99.tar.gz (1.4 kB) Preparing metadata (setup.py) ... done Collecting timezonefinder Downloading timezonefinder-6.0.2-py3-none-any.whl (45.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 MB 2.4 MB/s eta 0:00:00 Collecting yarl<2.0,>=1.0 Downloading yarl-1.7.2-cp310-cp310-musllinux_1_1_aarch64.whl (310 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 310.2/310.2 kB 3.3 MB/s eta 0:00:00 Collecting multidict<7.0,>=4.5 Downloading multidict-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.5/138.5 kB 2.8 MB/s eta 0:00:00 Collecting attrs>=17.3.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 1.7 MB/s eta 0:00:00 Collecting frozenlist>=1.1.1 Downloading frozenlist-1.3.0-cp310-cp310-musllinux_1_1_aarch64.whl (160 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.4/160.4 kB 4.6 MB/s eta 0:00:00 Collecting charset-normalizer<3.0,>=2.0 Downloading charset_normalizer-2.1.0-py3-none-any.whl (39 kB) Collecting aiosignal>=1.1.2 Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB) Collecting async-timeout<5.0,>=4.0.0a3 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting ephem Downloading ephem-4.1.3-cp310-cp310-musllinux_1_1_aarch64.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 3.3 MB/s eta 0:00:00 Collecting h3<4.0.0,>=3.7.3 Downloading h3-3.7.4.tar.gz (178 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.4/178.4 kB 3.4 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting numpy<2.0,>=1.22 Downloading numpy-1.23.1.tar.gz (10.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.7/10.7 MB 3.5 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting idna>=2.0 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 4.0 MB/s eta 0:00:00 Using legacy 'setup.py install' for pyastroweatherio, since package 'wheel' is not installed. Using legacy 'setup.py install' for pyephem, since package 'wheel' is not installed. Building wheels for collected packages: h3, numpy Building wheel for h3 (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for h3 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [66 lines of output] Not searching for unused variables given on the command line. CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. -- Configuring incomplete, errors occurred! See also "/tmp/pip-install-8ctg03dk/h3_e576615a84f847d0afa134fff7ca89ce/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log". Not searching for unused variables given on the command line. CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. -- Configuring incomplete, errors occurred! See also "/tmp/pip-install-8ctg03dk/h3_e576615a84f847d0afa134fff7ca89ce/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
scikit-build could not get a working generator for your system. Aborting build.
Building Linux wheels for Python 3.10 requires a compiler (e.g gcc). But scikit-build does NOT know how to install it on alpine
To build compliant wheels, consider using the manylinux system described in PEP-513. Get it with "dockcross/manylinux-x64" docker image:
https://github.com/dockcross/dockcross#readme
For more details, please refer to scikit-build documentation:
http://scikit-build.readthedocs.io/en/latest/generators.html#linux
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for h3 Building wheel for numpy (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for numpy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [258 lines of output] Running from numpy source directory. setup.py:86: DeprecationWarning:
numpy.distutils
is deprecated since NumPy 1.23.0, as a result
of the deprecation of distutils
itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use setuptools < 60.0
for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
import numpy.distutils.command.sdist Processing numpy/random/_bounded_integers.pxd.in Processing numpy/random/_generator.pyx Processing numpy/random/bit_generator.pyx Processing numpy/random/_sfc64.pyx Processing numpy/random/mtrand.pyx Processing numpy/random/_mt19937.pyx Processing numpy/random/_common.pyx Processing numpy/random/_bounded_integers.pyx.in Processing numpy/random/_pcg64.pyx Processing numpy/random/_philox.pyx Cythonizing sources INFO: blas_opt_info: INFO: blas_armpl_info: INFO: customize UnixCCompiler INFO: libraries armpl_lp64_mp not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: blas_mkl_info: INFO: libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: blis_info: INFO: libraries blis not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: openblas_info: INFO: libraries openblas not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: accelerate_info: INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_blas_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries tatlas not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_blas_info: INFO: libraries satlas not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: atlas_blas_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: atlas_blas_info: INFO: libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: /tmp/pip-install-8ctg03dk/numpy_ea28531abaff40e0bcdd6dc372e20f20/numpy/distutils/system_info.py:2077: UserWarning: Optimized (vendor) Blas libraries are not found. Falls back to netlib Blas library which has worse performance. A better performance should be easily gained by switching Blas library. if self._calc_info(blas): INFO: blas_info: INFO: libraries blas not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: /tmp/pip-install-8ctg03dk/numpy_ea28531abaff40e0bcdd6dc372e20f20/numpy/distutils/system_info.py:2077: UserWarning: Blas (http://www.netlib.org/blas/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [blas]) or by setting the BLAS environment variable. if self._calc_info(blas): INFO: blas_src_info: INFO: NOT AVAILABLE INFO: /tmp/pip-install-8ctg03dk/numpy_ea28531abaff40e0bcdd6dc372e20f20/numpy/distutils/system_info.py:2077: UserWarning: Blas (http://www.netlib.org/blas/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [blas_src]) or by setting the BLAS_SRC environment variable. if self._calc_info(blas): INFO: NOT AVAILABLE INFO: non-existing path in 'numpy/distutils': 'site.cfg' INFO: lapack_opt_info: INFO: lapack_armpl_info: INFO: libraries armpl_lp64_mp not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: lapack_mkl_info: INFO: libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: openblas_lapack_info: INFO: libraries openblas not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: openblas_clapack_info: INFO: libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: flame_info: INFO: libraries flame not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries tatlas,tatlas not found in /usr/local/lib INFO: libraries tatlas,tatlas not found in /usr/lib INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> INFO: NOT AVAILABLE INFO: INFO: atlas_3_10_info: INFO: libraries satlas,satlas not found in /usr/local/lib INFO: libraries satlas,satlas not found in /usr/lib INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'> INFO: NOT AVAILABLE INFO: INFO: atlas_threads_info: INFO: Setting PTATLAS=ATLAS INFO: libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib INFO: libraries ptf77blas,ptcblas,atlas not found in /usr/lib INFO: <class 'numpy.distutils.system_info.atlas_threads_info'> INFO: NOT AVAILABLE INFO: INFO: atlas_info: INFO: libraries f77blas,cblas,atlas not found in /usr/local/lib INFO: libraries f77blas,cblas,atlas not found in /usr/lib INFO: <class 'numpy.distutils.system_info.atlas_info'> INFO: NOT AVAILABLE INFO: INFO: lapack_info: INFO: libraries lapack not found in ['/usr/local/lib', '/usr/lib'] INFO: NOT AVAILABLE INFO: /tmp/pip-install-8ctg03dk/numpy_ea28531abaff40e0bcdd6dc372e20f20/numpy/distutils/system_info.py:1902: UserWarning: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. return getattr(self, '_calcinfo{}'.format(name))() INFO: lapack_src_info: INFO: NOT AVAILABLE INFO: /tmp/pip-install-8ctg03dk/numpy_ea28531abaff40e0bcdd6dc372e20f20/numpy/distutils/system_info.py:1902: UserWarning: Lapack (http://www.netlib.org/lapack/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [lapack_src]) or by setting the LAPACK_SRC environment variable. return getattr(self, '_calcinfo{}'.format(name))() INFO: NOT AVAILABLE INFO: INFO: numpy_linalg_lapack_lite: INFO: FOUND: INFO: language = c INFO: define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOLSUFFIX', '64')] INFO: Warning: attempted relative import with no known parent package /usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running bdist_wheel running build running config_cc INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src INFO: build_src INFO: building py_modules sources creating build creating build/src.linux-aarch64-3.10 creating build/src.linux-aarch64-3.10/numpy creating build/src.linux-aarch64-3.10/numpy/distutils INFO: building library "npymath" sources WARN: Could not locate executable armflang WARN: Could not locate executable gfortran WARN: Could not locate executable f95 WARN: Could not locate executable ifort WARN: Could not locate executable ifc WARN: Could not locate executable lf95 WARN: Could not locate executable pgfortran WARN: Could not locate executable nvfortran WARN: Could not locate executable f90 WARN: Could not locate executable f77 WARN: Could not locate executable fort WARN: Could not locate executable efort WARN: Could not locate executable efc WARN: Could not locate executable g77 WARN: Could not locate executable g95 WARN: Could not locate executable pathf95 WARN: Could not locate executable nagfor WARN: Could not locate executable frt WARN: don't know how to compile Fortran code on platform 'posix'
[Errno 2] No such file or directory: 'gcc'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for numpy Failed to build h3 numpy ERROR: Could not build wheels for h3, numpy, which is required to install pyproject.toml-based projects`
It looks like the homeassistant container - Alpine Linux v3.16 has a problem with "wheel" & "numpy" but so far I have not found a solution...
"Alpine is built with musl, which is incompatible with python wheels" ???
Hi,
good news - the issue should be fixed. If you're feeling adventurous redownload astroweather from the main branch, delete the integration via devices and services, restart hass and add the integration again. It should now work on all hass variants since I removed the dependency to timezonefinder
and h3
. Tested the container running on Ubuntu and HassOS on RPi 4.
I didn't find the time to create new releases so far but will do it later this evening after some positive feedback, hopefully.
From the changelog:
c
-module h3 on some home assistant deployment variants (e.g. Home Assistant Operating System on RPi). The config flow now allows to select the timezone for the specific AstroWeather instance for which reason the dependency to timezonefinder
is not required anymore.Devices & Services
section of your Home AssistantIn bed now but will give it a go in a few hours! Thanks!
If you're feeling adventurous redownload astroweather from the main branch, delete the integration via devices and services, restart hass and add the integration again. It should now work on all hass variants since I removed the dependency to
timezonefinder
andh3
. Tested the container running on Ubuntu and HassOS on RPi 4.
@mawinkler SUCCESS! Installs without any problem HassOS 8.2 on Odroid N2+.
Awesome job! :-)
Thank you all for reporting, helping, and patience. I did just release the version v0.21.1
Greetings to Vancouver! Nice city you're living in :-)
Thanks! I've always wanted to visit Germany! My mother was born in East Germany...
Looks like this might be a typo: "tsday" should be "today"? Error resolves by going back a few versions.