mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

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
15 lines
338 B
Bash
Executable file
15 lines
338 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "Preparing macOS environment"
|
|
sysctl hw.model hw.machine hw.ncpu hw.physicalcpu hw.logicalcpu
|
|
set -e
|
|
set -x
|
|
|
|
brew update
|
|
brew upgrade cmake
|
|
brew install cppzmq openssl@3 python@3 swig bison flex ccache libmaxminddb dnsmasq
|
|
|
|
which python3
|
|
python3 --version
|
|
|
|
python3 -m pip install --user --break-system-packages websockets
|