Unable to install Music Assistant on HASS supervised
See original GitHub issueThank you for making the great music custom component for HASS. By the way, I’m running HASS on supervised environment and install Music Assistant 1.19 via HACS but not successfully.
Could you give me the suggestion how to fix.
Here is error log:
2022-05-30 23:05:11 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package music-assistant==1.1.19: error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running bdist_wheel
running build
running build_py
running egg_info
writing src/greenlet.egg-info/PKG-INFO
writing dependency_links to src/greenlet.egg-info/dependency_links.txt
writing requirements to src/greenlet.egg-info/requires.txt
writing top-level names to src/greenlet.egg-info/top_level.txt
reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
running build_ext
building 'greenlet._greenlet' extension
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for greenlet
error: subprocess-exited-with-error
× Running setup.py install for greenlet did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
running install
/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running egg_info
writing src/greenlet.egg-info/PKG-INFO
writing dependency_links to src/greenlet.egg-info/dependency_links.txt
writing requirements to src/greenlet.egg-info/requires.txt
writing top-level names to src/greenlet.egg-info/top_level.txt
reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
running build_ext
building 'greenlet._greenlet' extension
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> greenlet
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: You are using pip version 22.0.3; however, version 22.1.1 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
My environment:
Home Assistant Core 2022.5.5
Home Assistant Supervisor 2022.05.3
I also tried to install greenlet manually via pip3 install greenlet then try to install music assistant again but still same error.
Thank you.
Issue Analytics
- State:
- Created a year ago
- Comments:25 (10 by maintainers)
Top Results From Across the Web
Music Assistant could not be installed with Home ... - GitHub
The problem. Installation via HACS fails. Configuration flow could not be started because of an „unknown error“. How to reproduce. Add Music ......
Read more >Home Assistant Supervised can't install Addons - Reddit
Hey, I'm trying to install Home Assistant Supervised. Since in Docker I can't have addons and I don't want the OS version, the...
Read more >How to Install Home Assistant Supervised - OFFICIAL WAY
UPDATE: The installation method has changed a bit! Updated instructions can be found here ...
Read more >Home Assistant Supervised Installation on Debian Linux
Home Assistant is one of the best open sourced Smart Home platforms and it can be installed using several different ways.
Read more >Adding local media - Home Assistant
If you are running Home Assistant OS or Supervised, you can access your (automatically) created media folder using the Samba add-on.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much for your support. Regarding to the “unsupported” issue, I think that’s just the message from HA team that they warning for these hardware which are not certified by them officially. I’ve used Armbian for more than 3 years and now it is quite stable. This is the 1st time I got the issue with a custom_component.
I guess there might be some conflict somewhere in our system but not related to unsupported environment or hardware. At the first install, I just follow your guide to install from HACS then ininiating it from integration menu. Because of installing failed then I tried to install manually but got same issue.
I will try it again with other environment then report you result.
Hi, on my raspberry with HA core in docker I have a similar error. The problem (visible int the log :
command 'gcc' failed: No such file or directory
) was that I needed to install gcc and some other dependencies in the docker container. I am using portainer, I just opened the HA container console, it is based on alpine linux so I started the installation withAfter the reboot, I restart the Music Assistant installation successfully. I hope this helps someone