简体   繁体   中英

Installing the same version of pyenv and boost_python

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM