diff --git a/2024/So you wanna do FreeBSD?.md b/2024/So you wanna do FreeBSD?.md index 0779d10..ca6fbd0 100644 --- a/2024/So you wanna do FreeBSD?.md +++ b/2024/So you wanna do FreeBSD?.md @@ -139,4 +139,23 @@ error: subprocess-exited-with-error ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. -``` \ No newline at end of file +``` + +``` +Great Thanks [@LukaszMoskala](https://github.com/LukaszMoskala), +For Android Termux : + +# outside of homeassistant venv + +git clone [https://github.com/numpy/numpy.git](https://github.com/numpy/numpy.git) numpy-git +cd numpy-git +git checkout v1.26.0 +git cherry-pick [040ed2d](https://github.com/numpy/numpy/commit/040ed2dc9847265c581a342301dd87d2b518a3c2) +git submodule update --init +cd .. + +# now enter homeassistant venv + +LDFLAGS=" -lm -lpython3" pip install numpy-git/ +``` +https://github.com/numpy/numpy/issues/24873#issuecomment-1807458661 \ No newline at end of file