OS | APP | Version |
---|---|---|
Ubuntu 18.04.1 | boost | 1.66.0 |
關於ImportError: libboost_python.so.1.66.0: cannot open shared object file: No such file or directory錯誤的解決方法:
執行以下命令:
wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz
&& tar zxf boost_1_66_0.tar.gz \
&& cd boost_1_66_0 \
&& ./bootstrap.sh --with-python=/usr/bin/python3 \
&& sudo ./b2 install --with-python include="/usr/include/python3.6m" --with-atomic --with-log --with-test --with-thread --with-date_time --with-chrono