-
Notifications
You must be signed in to change notification settings - Fork 9
Run FIT on macOS
Fabio Zito edited this page Feb 21, 2024
·
1 revision
To run FIT on macOS (Sonoma 14.3.1) where python 3.12 was already installed, I did do the following steps.
To install Visual Studio Code I followed the steps outlined in this guide.
For manage different versions of Python I use pyenv and to install it I used brew as shown below:
% brew install pyenv
% pyenv install 3.11.0
% echo 'export PYENV_ROOT=$(pyenv root)"' >> ~/.zshrc
% echo 'export PATH="$PYENV_ROOT/shims:$PATH"' >> ~/.zshrc
% source ~/.zshrc
% curl -sSL https://install.python-poetry.org | python3.11 -
% echo `export PATH="/Users/zitelog/.local/bin:$PATH"` >> ~/.zshrc
% source ~/.zshrc
% git clone https://github.com/fit-project/fit.git
% poetry install
During the installation I got this error:
Googling this error and I found this solution:
- Run
brew --prefix openssl
to check the openSSL path. If OpenSSL is not installed, install it first. - Run
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"
to add openssl include in environment variable CPPFLAGS. - Run
poetry install
to install sslkeylog