nathan-zhu edited a comment on issue #5514: use pulsar get error in mac os URL: https://github.com/apache/pulsar/issues/5514#issuecomment-548624555 i already change file name to others but still get same error. ``` Traceback (most recent call last): File "testpulsar.py", line 2, in <module> client = pulsar.Client('pulsar://localhost:6650') AttributeError: module 'pulsar' has no attribute 'Client' ``` i try to follow this issue: https://github.com/apache/pulsar/issues/5248#issuecomment-533939386 i use minicode package, found libpython3.7.dylib at below ``` ~/p/P/p/pulsar-client-cpp ❯❯❯ sudo find / -name "libpython3.7.dylib" ✘ 130 Password: /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7.dylib /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin/libpython3.7.dylib ``` but get error during cmake: ``` cmake DPYTHON_LIBRARY="/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7.dylib" . ``` ``` -- BUILD_TESTS: ON -- BUILD_PYTHON_WRAPPER: ON -- LINK_STATIC: OFF -- USE_LOG4CXX: OFF -- CMAKE_BUILD_TYPE: RelWithDebInfo -- PYTHON: 2.7.10 CMake Warning at /usr/local/Cellar/cmake/3.15.4/share/cmake/Modules/FindBoost.cmake:2003 (message): No header defined for python-mt; skipping header check Call Stack (most recent call first): CMakeLists.txt:143 (find_package) CMake Warning at /usr/local/Cellar/cmake/3.15.4/share/cmake/Modules/FindBoost.cmake:2003 (message): No header defined for python-py27; skipping header check Call Stack (most recent call first): CMakeLists.txt:143 (find_package) CMake Warning at /usr/local/Cellar/cmake/3.15.4/share/cmake/Modules/FindBoost.cmake:2003 (message): No header defined for python27-mt; skipping header check Call Stack (most recent call first): CMakeLists.txt:143 (find_package) CMake Error at CMakeLists.txt:151 (MESSAGE): Could not find Boost Python library -- Configuring incomplete, errors occurred! See also "/Users/lidongzhu/python/Pulsar/pulsar-branch-2.4/pulsar-client-cpp/CMakeFiles/CMakeOutput.log". ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services