Skip to content

Commit abdfa64

Browse files
authored
Update 40_install_CoralTPU
1 parent 44e27a8 commit abdfa64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts.d/40_install_CoralTPU

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ ldconfig
4848
# Python API.
4949
WHEEL="$(ls "${SCRIPT_DIR}/edgetpu-*-py3-none-any.whl" 2>/dev/null)"
5050
if [ $? = 0 ]; then
51-
sudo python3 -m pip install --no-deps "${WHEEL}"
51+
python3 -m pip install --no-deps "${WHEEL}"
5252
fi
53+
54+
cd .. && rm -rf edgetpu_api && rm -f edgetpu_api.tar.gz || exit 1

0 commit comments

Comments
 (0)