pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] tuteng commented on issue #5514: use pulsar get error in mac os
Date Thu, 07 Nov 2019 10:49:14 GMT
tuteng commented on issue #5514: use pulsar get error in mac os
URL: https://github.com/apache/pulsar/issues/5514#issuecomment-551026974
 
 
   There seems to be a lack of package boost-python3, if you try to install with source code,
don't install with pip anymore.
   
   The following command is installed based on source code:
   ```
   git clone https://github.com/apache/pulsar
   cd pulsar
   git checkout branch-2.4
   brew install boost-python3
   cd pulsar-client-cpp
   cmake .
   make -j4 && make install 
   cd python
   python setup.py install
   # python
   Python 3.7.3 (default, Mar 27 2019, 09:23:32)
   [Clang 9.0.0 (clang-900.0.39.2)] on darwin
   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', 'MessageBatch', 'MessageId', 'PartitionsRoutingMode', 'PickleSerDe',
'Producer', 'Reader', 'Result', 'SerDe', '__builtins__', '__cached__', '__doc__', '__file__',
'__loader__', '__name__', '__package__', '__path__', '__spec__', '_check_type', '_check_type_or_none',
'_listener_wrapper', '_pulsar', '_retype', '_schema', 'certifi', 'functions', 're', 'schema']
   >>>
   ```
   
   

----------------------------------------------------------------
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

Mime
View raw message