Skip to content

Commit d9100ea

Browse files
committed
Use virtual env to run python
1 parent 03f5bd7 commit d9100ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/mac/build-static-library.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
set -ex
2222
cd `dirname $0`
2323

24-
pip3 install pyyaml
24+
python3 -m venv venv
25+
source venv/bin/activate
26+
python3 -m pip install pyyaml
2527

2628
MACOSX_DEPLOYMENT_TARGET=10.15
2729
if [[ -z ${ARCH} ]]; then

0 commit comments

Comments
 (0)