From commits-return-41193-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Tue Nov 5 01:23:51 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CAC91180658 for ; Tue, 5 Nov 2019 02:23:50 +0100 (CET) Received: (qmail 68046 invoked by uid 500); 5 Nov 2019 01:23:50 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 68036 invoked by uid 99); 5 Nov 2019 01:23:50 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2019 01:23:50 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] [pulsar] nathan-zhu commented on issue #5514: use pulsar get error in mac os Message-ID: <157291703002.560.13824766897883259593.gitbox@gitbox.apache.org> Date: Tue, 05 Nov 2019 01:23:50 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: users@infra.apache.org With regards, Apache Git Services