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

   I tracked down the path to the pip that was installed by brew, and when I 
installed into that pip, it worked!
   
   ```
   ➜  pulsar-dumps /opt/homebrew/Cellar/[email protected]/3.9.12/bin/pip3 install 
pulsar-client
   DEPRECATION: Configuring installation scheme with distutils config files is 
deprecated and will no longer work in the near future. If you are using a 
Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621
   Collecting pulsar-client
     Downloading pulsar_client-2.10.0-cp39-cp39-macosx_11_0_universal2.whl 
(10.3 MB)
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.3/10.3 MB 74.0 MB/s eta 
0:00:00
   Collecting certifi
     Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
   Collecting six
     Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
   Installing collected packages: certifi, six, pulsar-client
     DEPRECATION: Configuring installation scheme with distutils config files 
is deprecated and will no longer work in the near future. If you are using a 
Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621
     DEPRECATION: Configuring installation scheme with distutils config files 
is deprecated and will no longer work in the near future. If you are using a 
Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621
     DEPRECATION: Configuring installation scheme with distutils config files 
is deprecated and will no longer work in the near future. If you are using a 
Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621
   DEPRECATION: Configuring installation scheme with distutils config files is 
deprecated and will no longer work in the near future. If you are using a 
Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621
   Successfully installed certifi-2021.10.8 pulsar-client-2.10.0 six-1.16.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
   # No error this time!
   ```
   
   Thanks for helping me think through this. 
   
   I guess the next question is why it wasn't working from Anaconda. 
   


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