mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 06:44:06 +02:00
Fix /home/pi/.cache/pip
This commit is contained in:
@@ -9,6 +9,7 @@ if [[ "$(uname -m)" = "x86_64" ]]; then
|
|||||||
bashio::log.warning "NON SUPPORTED CPU DETECTED"
|
bashio::log.warning "NON SUPPORTED CPU DETECTED"
|
||||||
bashio::log.warning "Your cpu doesn't support avx2, the analyzer service will likely won't work"
|
bashio::log.warning "Your cpu doesn't support avx2, the analyzer service will likely won't work"
|
||||||
bashio::log.warning "Trying to install tensorflow instead of tflite_runtime instead"
|
bashio::log.warning "Trying to install tensorflow instead of tflite_runtime instead"
|
||||||
|
mkdir -p /home/pi/.cache/pip
|
||||||
chown "0:0" /home/pi/.cache/pip
|
chown "0:0" /home/pi/.cache/pip
|
||||||
$PYTHON_VIRTUAL_ENV /usr/bin/pip3 uninstall -y tflite_runtime
|
$PYTHON_VIRTUAL_ENV /usr/bin/pip3 uninstall -y tflite_runtime
|
||||||
$PYTHON_VIRTUAL_ENV /usr/bin/pip3 install tensorflow
|
$PYTHON_VIRTUAL_ENV /usr/bin/pip3 install tensorflow
|
||||||
|
|||||||
Reference in New Issue
Block a user