From 861c13f30c7cd89192ef2d9ed5cd803b617b090e Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sun, 15 Jan 2023 23:07:52 -0600 Subject: [PATCH] Add python path modifications to setup_device.sh --- setup/setup_device.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 39ecc789..55023284 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -346,6 +346,11 @@ else echo "Python up to date" fi +# Add to python path +[ -d /usr/local/lib/python2.7/dist-packages ] && echo "/var/pynode" > /usr/local/lib/python2.7/dist-packages/pynode.pth +[ -d /usr/local/lib/python3.7/site-packages ] && echo "/var/pynode" > /usr/local/lib/python3.7/site-packages/pynode.pth +[ -d /usr/local/lib/python3.8/site-packages ] && echo "/var/pynode" > /usr/local/lib/python3.8/site-packages/pynode.pth + # Install Python3 specific tools pip3 install --upgrade pip wheel setuptools