nathan-zhu commented on issue #5514: use pulsar get error in mac os URL: https://github.com/apache/pulsar/issues/5514#issuecomment-549621547 > You can try: > > ``` > root@b719364a53f1:/pulsar# python > Python 2.7.13 (default, Sep 26 2018, 18:42:22) > [GCC 6.3.0 20170516] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import pulsar > >>> dir(pulsar) > ['Authentication', 'AuthenticationAthenz', 'AuthenticationTLS', 'AuthenticationToken', 'Client', 'CompressionType', 'Consumer', 'ConsumerType', 'Context', 'Function', 'IdentitySerDe', 'InitialPosition', 'Message', 'MessageId', 'PartitionsRoutingMode', 'PickleSerDe', 'Producer', 'Reader', 'Result', 'SerDe', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '_check_type', '_check_type_or_none', '_listener_wrapper', '_pulsar', '_retype', '_schema', 'certifi', 'functions', 're', 'schema'] > >>> pulsar.__path__ > ['/usr/local/lib/python2.7/dist-packages/pulsar'] > >>> > ``` HI, tuteng. here is my dir(pulsar) information ``` ~ ❯❯❯ python Python 3.7.1 (default, Dec 14 2018, 13:28:58) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pulsar >>> dir(pulsar) ['__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__'] >>> pulsar.__path__ _NamespacePath(['/Users/lidongzhu/miniconda/lib/python3.7/site-packages/pulsar']) >>> ```
---------------------------------------------------------------- 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] With regards, Apache Git Services
