diff --git a/script/setup b/script/setup index 9df3fdb25d8..782eb510654 100755 --- a/script/setup +++ b/script/setup @@ -16,7 +16,7 @@ fi mkdir -p config -if [ ! -n "$DEVCONTAINER" ];then +if [ ! -n "$DEVCONTAINER" ] && [ ! -n "$VIRTUAL_ENV" ];then python3 -m venv venv source venv/bin/activate fi @@ -36,4 +36,4 @@ logger: logs: homeassistant.components.cloud: debug " >> config/configuration.yaml -fi \ No newline at end of file +fi