Closed FranzFelberer closed 3 years ago
@FranzFelberer Looks like you are using pyenv's Python. You need to use Python installed with Homebrew.
There is one more thing you want to check. I want to share the result of under a command execution:
$ find /usr -name "*libboost_python*"
Thanks
@hhatto Thanks for your response. Ok, I see. Is there a way to install it / make it available to a python version/virtual environment not installed by homebrew?
The output:
❯ sudo find /usr -name "libboost_python" /usr/local/lib/libboost_python27.a /usr/local/lib/libboost_python27-mt.a /usr/local/lib/libboost_python37.a /usr/local/lib/libboost_python37.dylib /usr/local/lib/libboost_python37-mt.a /usr/local/lib/libboost_python27.dylib /usr/local/lib/libboost_python37-mt.dylib /usr/local/lib/libboost_python27-mt.dylib /usr/local/Cellar/boost-python3/1.72.0/lib/libboost_python37.a /usr/local/Cellar/boost-python3/1.72.0/lib/libboost_python37.dylib /usr/local/Cellar/boost-python3/1.72.0/lib/cmake/boost_python-1.72.0/libboost_python-variant-mt-static-py3.7.cmake /usr/local/Cellar/boost-python3/1.72.0/lib/cmake/boost_python-1.72.0/libboost_python-variant-mt-shared-py3.7.cmake /usr/local/Cellar/boost-python3/1.72.0/lib/cmake/boost_python-1.72.0/libboost_python-variant-static-py3.7.cmake /usr/local/Cellar/boost-python3/1.72.0/lib/cmake/boost_python-1.72.0/libboost_python-variant-shared-py3.7.cmake /usr/local/Cellar/boost-python3/1.72.0/lib/libboost_python37-mt.a /usr/local/Cellar/boost-python3/1.72.0/lib/libboost_python.dylib /usr/local/Cellar/boost-python3/1.72.0/lib/libboost_python37-mt.dylib /usr/local/Cellar/boost-python3/1.72.0/lib/libboost_python3.dylib /usr/local/Cellar/boost-python/1.72.0/lib/libboost_python27.a /usr/local/Cellar/boost-python/1.72.0/lib/libboost_python27-mt.a /usr/local/Cellar/boost-python/1.72.0/lib/libboost_python27.dylib /usr/local/Cellar/boost-python/1.72.0/lib/libboost_python27-mt.dylib
@FranzFelberer sorry for late reply.
Is there a way to install it / make it available to a python version/virtual environment not installed by homebrew?
To do that, you also need to install boost-python. In that case, you need to link to the version of Python you want to use.
I think that it will work if libboost_python36.a
and libboost_python36-mt.a
are installed.
Close this. If the problem still occurs, reopen it.
Dear all, I try to install pgmagick on MacOS 10.15.2.
It fails at
$ pip install pgmagick
Installation via$ brew install pgmagick
worksI use pyenv to manage python versions and virtual environments.