diff --git a/install/docker/Dockerfile.full b/install/docker/Dockerfile.full index 0fc87f781..5de189555 100644 --- a/install/docker/Dockerfile.full +++ b/install/docker/Dockerfile.full @@ -61,7 +61,7 @@ RUN apt-get -y install \ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED RUN python3 -m pip install --upgrade pip -RUN python3 -m pip install debugpy typing_extensions psutil +RUN python3 -m pip install debugpy typing_extensions psutil ptpython ################################################################ # End section generated from template/Dockerfile.full.header @@ -86,7 +86,7 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED RUN python3.9 -m pip install --upgrade pip -RUN python3.9 -m pip install debugpy typing_extensions psutil +RUN python3.9 -m pip install debugpy typing_extensions psutil ptpython # Coral Edge TPU # https://coral.ai/docs/accelerator/get-started/#runtime-on-linux diff --git a/install/docker/Dockerfile.lite b/install/docker/Dockerfile.lite index 884c33f50..100ab315d 100644 --- a/install/docker/Dockerfile.lite +++ b/install/docker/Dockerfile.lite @@ -28,7 +28,7 @@ RUN apt-get -y install \ # python pip RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED RUN python3 -m pip install --upgrade pip -RUN python3 -m pip install debugpy typing_extensions psutil +RUN python3 -m pip install debugpy typing_extensions psutil ptpython ENV SCRYPTED_INSTALL_ENVIRONMENT="docker" ENV SCRYPTED_CAN_RESTART="true" diff --git a/install/docker/template/Dockerfile.full.footer b/install/docker/template/Dockerfile.full.footer index b4df961e9..c3d3cd46f 100644 --- a/install/docker/template/Dockerfile.full.footer +++ b/install/docker/template/Dockerfile.full.footer @@ -18,7 +18,7 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED RUN python3.9 -m pip install --upgrade pip -RUN python3.9 -m pip install debugpy typing_extensions psutil +RUN python3.9 -m pip install debugpy typing_extensions psutil ptpython # Coral Edge TPU # https://coral.ai/docs/accelerator/get-started/#runtime-on-linux diff --git a/install/docker/template/Dockerfile.full.header b/install/docker/template/Dockerfile.full.header index 00b6f3514..e3eee55a6 100644 --- a/install/docker/template/Dockerfile.full.header +++ b/install/docker/template/Dockerfile.full.header @@ -58,7 +58,7 @@ RUN apt-get -y install \ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED RUN python3 -m pip install --upgrade pip -RUN python3 -m pip install debugpy typing_extensions psutil +RUN python3 -m pip install debugpy typing_extensions psutil ptpython ################################################################ # End section generated from template/Dockerfile.full.header diff --git a/install/local/install-scrypted-dependencies-mac.sh b/install/local/install-scrypted-dependencies-mac.sh index b1218c75b..5f8cf868e 100755 --- a/install/local/install-scrypted-dependencies-mac.sh +++ b/install/local/install-scrypted-dependencies-mac.sh @@ -75,7 +75,7 @@ if [ "$PYTHON_VERSION" != "3.10" ] then RUN python$PYTHON_VERSION -m pip install typing fi -RUN python$PYTHON_VERSION -m pip install debugpy typing_extensions opencv-python psutil +RUN python$PYTHON_VERSION -m pip install debugpy typing_extensions opencv-python psutil ptpython echo "Installing Scrypted Launch Agent..." diff --git a/install/local/install-scrypted-dependencies-win.ps1 b/install/local/install-scrypted-dependencies-win.ps1 index 9a556dbbf..93df3ed09 100644 --- a/install/local/install-scrypted-dependencies-win.ps1 +++ b/install/local/install-scrypted-dependencies-win.ps1 @@ -16,11 +16,11 @@ choco upgrade -y python39 $SCRYPTED_WINDOWS_PYTHON_VERSION="-3.9" # Refresh environment variables for py and npx to work -$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") +$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install --upgrade pip -py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install debugpy typing_extensions typing opencv-python +py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install debugpy typing_extensions typing opencv-python ptpython npx -y scrypted@latest install-server