Failed to install package plugp100==2.1.13b1 with HA 2022.03.3
See original GitHub issueDescribe the bug
Earlier I switched from HomeAssistant-Tapo-P100-Control to this home-assistant-tapo-p100 because of the HACS integration and UI setup support. Setup went smoothly with ~ 10 Bulb and ~ 8 plug and everything worked fine After I updated HA core to 2022.3.0 the integration stopped working with the described log messages I tried to reinstall/manually remove + add the repository My HomeAssistant is running in a docker container under OpenMediaVault
Debug log
2022-03-11 12:39:57 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package plugp100==2.1.13b1: error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
Testing support for clang
Target does not support clang
Testing support for gcc
Target does not support gcc
Testing support for stdint.h header
Target does not support stdint.h header
Testing support for 128-bit integer
Target does not support 128-bit integer
Testing support for cpuid.h header
Target does not support cpuid.h header
Testing support for intrin.h header
Target does not support intrin.h header
Testing support for posix_memalign
Target does not support posix_memalign
Testing support for memalign
Target does not support memalign
Testing support for SSE2(intrin.h)
Target does not support SSE2(intrin.h)
Testing support for SSE2(x86intrin.h)
Target does not support SSE2(x86intrin.h)
Testing support for SSE2(emmintrin.h)
Target does not support SSE2(emmintrin.h)
Warning: compiler does not support AESNI instructions
Warning: compiler does not support CLMUL instructions
running bdist_wheel
running build
running build_py
running build_ext
building 'Crypto.Hash._MD2' 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 pycryptodome
error: subprocess-exited-with-error
× Running setup.py install for pycryptodome did not run successfully.
│ exit code: 1
╰─> [32 lines of output]
Testing support for clang
Target does not support clang
Testing support for gcc
Target does not support gcc
Testing support for stdint.h header
Target does not support stdint.h header
Testing support for 128-bit integer
Target does not support 128-bit integer
Testing support for cpuid.h header
Target does not support cpuid.h header
Testing support for intrin.h header
Target does not support intrin.h header
Testing support for posix_memalign
Target does not support posix_memalign
Testing support for memalign
Target does not support memalign
Testing support for SSE2(intrin.h)
Target does not support SSE2(intrin.h)
Testing support for SSE2(x86intrin.h)
Target does not support SSE2(x86intrin.h)
Testing support for SSE2(emmintrin.h)
Target does not support SSE2(emmintrin.h)
Warning: compiler does not support AESNI instructions
Warning: compiler does not support CLMUL instructions
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 build_ext
building 'Crypto.Hash._MD2' 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.
WARNING: No metadata found in /usr/local/lib/python3.9/site-packages
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pycryptodome
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.0.4 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Note
Earlier I added this issue as a comment to another one but I think the two issues are not necessarily related. Thanks for your help Please let me know I I need to add any more information
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Poetry refuses to install package with correct hash · Issue #4523
I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate....
Read more >unable to install package in R Studio - Warning
Team I am unable to install any package from my R Studio. Please find below errors while installing the package. install.packages("ggplot2") Warning in ......
Read more >Package installation issues | PyCharm Documentation
The most viable troubleshooting action is to try installing the problematic package on the selected Python interpreter using the terminal. If you get...
Read more >Nuget package installation failure - Stack Overflow
Slippery Pete fixed this problem for me. The first time I tried to install my Assembly I got: Could not install package 'Package...
Read more >Package installation keeps failing - UiPath Community Forum
When I reinstalled UI Path IT WORKED! The process ran again with no problems. BUT THEN, a couple of days later the package...
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 Free
Top 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
Pro tip for anyone else running in docker. who sees this in future (and probably myself next update). The Docker container isn’t running on ubuntu, and runs on
buildroot/ alpine linux
so there’s noapt-get
orbuild-essentials
. Instead of that, do anapk add build-base
andpython3-dev
, and then restart the container and it’ll work.You can try to update it. But if home assistant is running in a docker container, you must install
build-essentials
andpython3-dev
inside the container and not on the host machine.