I have installed python by pyenv
$which python
/Users/whitebear/.pyenv/shims/python
$python -V
Python 3.7.9
However in /Users/whitebear/.pyenv/versions/3.7.9/lib/
,there is no libboost_python**
So I installed by brew brew install python-boost
.
It is installed in /usr/local/Cellar/boost-python3/1.75.0/
However there is only libboost_python39**
and libboost_numpy39
My python version is 3.7.9 though.
How can I install boost_python
for pyenv
the same version??
Please see https://github.com/pyenv/pyenv/issues/585
You need to build boost against the python version you installed in your pyenv