Hi, yunze, Thanks. I think the problem is from the `pip`. I have upgraded my pip and it works fine now.
+1 (non-binding) python: 3.7, 3.9, 3.10 - Install python client .whl files on macOS - Run the consumer - Run the producer Thanks, Zike Yang On Mon, Feb 6, 2023 at 1:31 PM Yunze Xu <y...@streamnative.io.invalid> wrote: > > This wheel works for me. I tested the following commands on macOS Monterey > 12.6: > > ```bash > brew install python@3.7 > python3.7 -m pip install > pulsar_client-3.1.0-cp37-cp37m-macosx_10_15_universal2.whl > ``` > > Here are the actual versions: > > ```bash > % python3.7 --version > Python 3.7.16 > % python3.7 -m pip --version > pip 22.3.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7) > ``` > > Could you try replacing `python -m pip` with `python3.7 -m pip`? > > Thanks, > Yunze > > > > > > On Feb 6, 2023, at 10:13, Zike Yang <z...@apache.org> wrote: > > > > Hi, Yunze > > > > When I use the python 3.7.9 to install the whl file. It reports a > > platform mismatch error. > > > > ``` > > ➜ macos python --version > > Python 3.7.9 > > ➜ macos python -m pip install > > pulsar_client-3.1.0-cp37-cp37m-macosx_10_15_universal2.whl > > ERROR: pulsar_client-3.1.0-cp37-cp37m-macosx_10_15_universal2.whl is > > not a supported wheel on this platform. > > ``` > > > > Python 3.10 and 3.9 works fine for me. My macOS version is 12.6 > > Could you take a look at this? > > > > Thanks, > > Zike Yang > > > > On Sat, Feb 4, 2023 at 11:52 PM guo jiwei <techno...@apache.org> wrote: > >> > >> +1 (binding) > >> > >> - Checked the signature > >> - Install the python .whl file (pip3 install > >> pulsar_client-3.1.0-cp310-cp310-macosx_10_15_universal2.whl) on macOS > >> - Start the standalone (master) > >> - Start consumer (python3 ./examples/consumer.py) > >> - Start producer (python3 ./examples/producer.py ) > >> > >> Regards > >> Jiwei Guo (Tboy) > >> > >> On Sat, Feb 4, 2023 at 6:11 PM r...@apache.org <ranxiaolong...@gmail.com> > >> wrote: > >>> > >>> +1 (non-binding) > >>> > >>> python version:3 > >>> > >>> 1. run Go SDK producer and use python SDK consumer to receive messages; > >>> 2. run Python SDK consumer and use Go SDK producer to send messages; > >>> > >>> -- > >>> Thanks > >>> Xiaolong Ran > >>> > >>> 丛搏 <bog...@apache.org> 于2023年2月3日周五 13:39写道: > >>> > >>>> +1(binding) > >>>> os: mac 12.6 > >>>> python: 3.9.6 > >>>> > >>>> python3 ./examples/consumer.py > >>>> python3 ./examples/producer.py > >>>> > >>>> Thanks, > >>>> Bo > >>>> > >>>> Matteo Merli <matteo.me...@gmail.com> 于2023年2月3日周五 03:26写道: > >>>>> > >>>>> +1 > >>>>> -- > >>>>> Matteo Merli > >>>>> <matteo.me...@gmail.com> > >>>>> > >>>>> On Thu, Feb 2, 2023 at 5:57 AM Yunze Xu <y...@streamnative.io.invalid> > >>>> wrote: > >>>>>> > >>>>>> This is the 2nd release candidate for Apache Pulsar Client Python, > >>>>>> version 3.1.0. > >>>>>> > >>>>>> It fixes the following issues: > >>>>>> https://github.com/apache/pulsar-client-python/milestone/2?closed=1 > >>>>>> > >>>>>> *** Please download, test and vote on this release. This vote will > >>>>>> stay open for at least 72 hours *** > >>>>>> > >>>>>> Python wheels: > >>>>>> > >>>> https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-python-3.1.0-candidate-2/ > >>>>>> > >>>>>> The supported python versions are 3.7, 3.8, 3.9, 3.10 and 3.11. The > >>>>>> supported platforms and architectures are: > >>>>>> - Windows x86_64 (windows/) > >>>>>> - glibc-based Linux x86_64 (linux-glibc-x86_64/) > >>>>>> - glibc-based Linux arm64 (linux-glibc-arm64/) > >>>>>> - musl-based Linux x86_64 (linux-musl-x86_64/) > >>>>>> - musl-based Linux arm64 (linux-musl-arm64/) > >>>>>> - macOS universal 2 (macos/) > >>>>>> > >>>>>> The tag to be voted upon: v3.1.0-candidate-2 > >>>>>> (fda50867a9c7bf927309527fade2f53eb3907bed) > >>>>>> > >>>> https://github.com/apache/pulsar-client-python/releases/tag/v3.1.0-candidate-2 > >>>>>> > >>>>>> Pulsar's KEYS file containing PGP keys you use to sign the release: > >>>>>> https://dist.apache.org/repos/dist/dev/pulsar/KEYS > >>>>>> > >>>>>> Please download the Python wheels and follow the README to test. > >>>> >