devinbost commented on issue #15417:
URL: https://github.com/apache/pulsar/issues/15417#issuecomment-1117709141

   I got the Python version via Anaconda. 
   
   Here's what happens when I try doing it on the OS directly. (I must be 
missing something.)
   
   ```
   ➜  pulsar-dumps python3 -m pip install --upgrade pip
   Defaulting to user installation because normal site-packages is not writeable
   Collecting pip
     Using cached pip-22.0.4-py3-none-any.whl (2.1 MB)
   Installing collected packages: pip
     WARNING: The scripts pip, pip3 and pip3.8 are installed in 
'/Users/dbost/Library/Python/3.8/bin' which is not on PATH.
     Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
   Successfully installed pip-22.0.4
   ➜  pulsar-dumps export PATH=/Users/dbost/Library/Python/3.8/bin:$PATH
   ➜  pulsar-dumps pip install pulsar-client
   Defaulting to user installation because normal site-packages is not writeable
   Collecting pulsar-client
     Downloading pulsar_client-2.10.0-cp38-cp38-macosx_11_0_universal2.whl 
(10.3 MB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.3/10.3 MB 45.4 MB/s eta 
0:00:00
   Collecting certifi
     Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.2/149.2 KB 5.2 MB/s eta 
0:00:00
   Requirement already satisfied: six in 
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages
 (from pulsar-client) (1.15.0)
   Installing collected packages: certifi, pulsar-client
   Successfully installed certifi-2021.10.8 pulsar-client-2.10.0
   ➜  pulsar-dumps python3
   Python 3.9.12 (main, Mar 26 2022, 15:44:31)
   [Clang 13.1.6 (clang-1316.0.21.2)] on darwin
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import pulsar
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   ModuleNotFoundError: No module named '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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to