mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
ci/macos/prepare: Install python@3 explicitly
It seems Homebrew's Python 3.12 doesn't install default symlinks or python3 symlinks[1]. I believe this results in prepare.sh using the system's Python rather than Homebrew's. Install python@3 explicitly to put the symlinks in place. [1] https://stackoverflow.com/a/77655631
This commit is contained in:
parent
6032741868
commit
70f5430e7c
1 changed files with 4 additions and 3 deletions
|
@ -7,8 +7,9 @@ set -x
|
||||||
|
|
||||||
brew update
|
brew update
|
||||||
brew upgrade cmake
|
brew upgrade cmake
|
||||||
brew install cppzmq openssl@3 swig bison flex ccache libmaxminddb dnsmasq
|
brew install cppzmq openssl@3 python@3 swig bison flex ccache libmaxminddb dnsmasq
|
||||||
|
|
||||||
|
which python3
|
||||||
|
python3 --version
|
||||||
|
|
||||||
# Upgrade pip so we have the --break-system-packages option.
|
|
||||||
python3 -m pip install --upgrade pip
|
|
||||||
python3 -m pip install --user --break-system-packages websockets
|
python3 -m pip install --user --break-system-packages websockets
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue