From a73d0f4b37e4a7fe06653aa8b3372b6a08f3bd81 Mon Sep 17 00:00:00 2001 From: Dhruv Trivedi Date: Tue, 31 Dec 2024 21:16:59 +0530 Subject: [PATCH] fix: resolve pip install toml error with virtual python env Signed-off-by: Dhruv Trivedi --- .gitignore | 1 + scripts/deps/pkgs.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 5f82ce1eedb7f..d969f83be54a1 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ examples/cross-platform-e2ee/third-party-arm/ unsafe-call-trace.log unsafe-items-list.log +/venv diff --git a/scripts/deps/pkgs.sh b/scripts/deps/pkgs.sh index 3e2cda8229872..1faffa53feee0 100755 --- a/scripts/deps/pkgs.sh +++ b/scripts/deps/pkgs.sh @@ -21,4 +21,7 @@ sudo apt-get install -y -qq --no-install-recommends --fix-missing \ inotify-tools \ pylint +python3 -m venv venv +source venv/bin/activate pip3 install toml +deactivate