RenaultAI opened a new issue #7308: URL: https://github.com/apache/pulsar/issues/7308
**Describe the bug** I'm unable to import the `pulsar` Python library. ``` → uname -a Darwin ryoung-mbp.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64 → sw_vers ProductName: Mac OS X ProductVersion: 10.15.5 BuildVersion: 19F101 → python -V Python 3.7.7 → pip show pulsar-client Name: pulsar-client Version: 2.6.0 Summary: Apache Pulsar Python client library Home-page: https://pulsar.apache.org/ Author: Pulsar Devs Author-email: [email protected] License: Apache License v2.0 Location: /Users/ryoung/.pyenv/versions/3.7.7/envs/default3/lib/python3.7/site-packages Requires: six, apache-bookkeeper-client, protobuf, ratelimit, prometheus-client, certifi, grpcio, fastavro Required-by: ``` **To Reproduce** Simply run `python` and then `import pulsar`. ``` → python Python 3.7.7 (default, May 20 2020, 15:06:47) [Clang 11.0.3 (clang-1103.0.32.59)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pulsar Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/ryoung/.pyenv/versions/default3/lib/python3.7/site-packages/pulsar/__init__.py", line 102, in <module> import _pulsar ImportError: dlopen(/Users/ryoung/.pyenv/versions/default3/lib/python3.7/site-packages/_pulsar.cpython-37m-darwin.so, 2): Symbol not found: __Py_tracemalloc_config Referenced from: /Users/ryoung/.pyenv/versions/default3/lib/python3.7/site-packages/_pulsar.cpython-37m-darwin.so Expected in: flat namespace in /Users/ryoung/.pyenv/versions/default3/lib/python3.7/site-packages/_pulsar.cpython-37m-darwin.so >>> ``` **Expected behavior** I expect the `pulsar` python client to work following the [Install using pip documentation](http://pulsar.apache.org/docs/en/client-libraries-python/#install-using-pip). **Desktop (please complete the following information):** - OS: Mac 10.15.5 (19F101) ---------------------------------------------------------------- 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: [email protected]
