devinbost opened a new issue, #15417:
URL: https://github.com/apache/pulsar/issues/15417
I can't find a way to get the Pulsar Python client working on an M1 Mac.
Here are my steps / attempts:
```
conda create -n pulsardemo
conda activate pulsardemo
pip install pulsar-client
# Fails to install. Gives:
ERROR: Could not find a version that satisfies the requirement
pulsar-client (from versions: none)
ERROR: No matching distribution found for pulsar-client
# Attempted solution #1:
curl https://bootstrap.pypa.io/get-pip.py | python
pip install pulsar-client
pip install --upgrade setuptools
# No luck yet
python --version
pip install pulsar-client==2.2.1
conda search python
python --version
conda install python=3.9.12
pip install pulsar-client
# Installs successfully!
python
>>> import pulsar
[1] 89737 illegal hardware instruction python
# Death...
# Next attempt:
file $(which python3)
python -c "import platform;print(platform.machine())"
conda config --env --set subdir osx-64
pip install pulsar-client
python
>>> import pulsar
[1] 89737 illegal hardware instruction python
# Death... Next attempt:
pip uninstall pulsar-client
softwareupdate --install-rosetta
conda create -n pulsarrosetta
conda activate pulsarrosetta
pip install pulsar-client
conda install pip
pip install pulsar-client
# No luck.
conda install python=3.9.12
pip install pulsar-client
python
>>> import pulsar
[1] 89737 illegal hardware instruction python
# Death again...
# Next, I repeated the steps from a new terminal that I started using
rosetta. Same results.
```
--
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]