# Solace PubSub+ Messaging API for Python releases

**URL:** <https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774>\
**Category:** Solace Event Broker\
**Created:** [May 31, 2021, 1:09pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774 "2021-05-31T13:09:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hong](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/hong/32/1613_2.png) [@hong](https://community.solace.com/u/hong)\
**Post date:** [May 31, 2021, 1:09pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/1 "2021-05-31T13:09:02Z")

</div>

The following product has been released and is available for download:

- Solace PubSub+ Messaging API for Python 1.1.0

**Release Summary:**

The following new features have been added to this updated API:

- Direct Messaging Request/Reply
- Structured Data Type Support for Publish and Consume
- Message Replay Support
- Message Interoperability with other Solace Message Format (SMF) APIs Containing XMLContent

Please refer to the product release notes for information on new features, changed functionality, resolved issues, known issues and upgrade considerations.

**Download:**

The API can be downloaded from products.solace.com.

Note: Access to [products.solace.com](http://products.solace.com) requires your account name and password.

**Documentation:**

Solace product documentation can be found at: [https://docs.solace.com](https://docs.solace.com).

---

<div class="post-metadata">

**Author:** ![ManuManu](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@ManuManu](https://community.solace.com/u/ManuManu)\
**Post date:** [August 11, 2021, 5:46am UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/2 "2021-08-11T05:46:43Z")

</div>

Hi,

I’m having issues installing version 1.1.0

> ERROR: Could not find a version that satisfies the requirement solace-pubsubplus==1.1.0 (from versions: 0.2.0, 0.2.1)  
> ERROR: No matching distribution found for solace-pubsubplus==1.1.0

Here’s the info:  
Platform: MacOs Sierra 10.12.6  
Homebrew version 2.4.9

- installed python3.7

- added a softlink  
`ln -s /usr/local/Cellar/python@3.7/3.7.8_1/bin/python3.7 /usr/local/bin/python3.7`  
` python3.7 -V`  
python 3.7.8

- created and utilized a virtual environment  
`python3.7 -m venv venv37`  
`source venv37/bin/activate`

- pip list versions under that virtualenv (venv37)  
`pip==21.2.3`  
`setuptools==47.1.0`

- then pip install solace-pubsubplus==1.1.0  
The error above is showing. I used 3.7 per [Readme guide](https://github.com/SolaceSamples/solace-samples-python/tree/master)

---

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [August 11, 2021, 3:59pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/3 "2021-08-11T15:59:42Z")

</div>

Hey @Tamimi can you take a look and see if instructions need to be updated with the new version?

---

<div class="post-metadata">

**Author:** ![ManuManu](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@ManuManu](https://community.solace.com/u/ManuManu)\
**Post date:** [August 12, 2021, 1:34am UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/4 "2021-08-12T01:34:49Z")

</div>

Hi @marc , @Tamimi:

I resolved the issue by updating my Mac platform to the latest BigSur. Originally my OS was 10.12, and looking at [pypy](https://pypi.org/project/solace-pubsubplus/1.1.0/#files) downloaded files for 1.1.0, the filename for mac is stated 10\_15. So I took a dive and upgrade my OS, and now I’m able to use 1.1.0

---

<div class="post-metadata">

**Author:** ![argoran](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@argoran](https://community.solace.com/u/argoran)\
**Post date:** [August 12, 2021, 6:25am UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/5 "2021-08-12T06:25:57Z")

</div>

Is it possible to include the package that supports for any platform? Thanks.

---

<div class="post-metadata">

**Author:** ![Tamimi](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/tamimi/32/2190_2.png) [@Tamimi](https://community.solace.com/u/Tamimi)\
**Post date:** [August 12, 2021, 8:44pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/6 "2021-08-12T20:44:00Z")

</div>

Hey @ManuManu! Updating your pip `pip install --upgrade pip` should suffice ?

---

<div class="post-metadata">

**Author:** ![Tamimi](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/tamimi/32/2190_2.png) [@Tamimi](https://community.solace.com/u/Tamimi)\
**Post date:** [August 12, 2021, 8:44pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/7 "2021-08-12T20:44:27Z")

</div>

@argoran what platforms are you referring to?

---

<div class="post-metadata">

**Author:** ![argoran](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@argoran](https://community.solace.com/u/argoran)\
**Post date:** [August 13, 2021, 6:34am UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/8 "2021-08-13T06:34:44Z")

</div>

@Tamimi , Thanks for the reply. I am using a 10.14 Mac and for solace-pubsubplus, the available downloads for Mac requires that its version should be at least 10.15.

 ![image.png](https://canada1.discourse-cdn.com/solace/original/2X/a/ac58c31a678c83b4c48677a3074356a276a65ec7.png)

I noticed in the previous version like for `0.2.1` the available download is for any platform. Is it possible to bring this back for `1.1.0` version?

 ![image.png](https://canada1.discourse-cdn.com/solace/original/2X/e/e580d3a23e5bfc2ffbcf3b3e1cec2697a278234a.png)

Also, regarding updating the pip. My pip version is already the latest but when I try to install solace-pubsubplus the only available versions are `0.2.0` and `0.2.1`.

Anyway, I am using docker as my work around for this.

---

<div class="post-metadata">

**Author:** ![amackenzie](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/amackenzie/32/1168_2.png) [@amackenzie](https://community.solace.com/u/amackenzie)\
**Post date:** [August 13, 2021, 2:04pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/9 "2021-08-13T14:04:58Z")

</div>

Hello @argoran , I am a product manager at Solace and I handle the APIs.

I understand that 10.4 Mojave is still under support from Apple, however, it was released in 2018 and end of support is imminent from Apple. The rumor is Nov 2021 (so 2 months from now), which would be consistent with past MacOS releases being supported for 3 years.

As such, Solace is unlikely to create a new package that supports MacOS prior to 10.15.  
Is it possible for you to upgrade to something more recent?

Regards,  
Andrew

---

<div class="post-metadata">

**Author:** ![argoran](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@argoran](https://community.solace.com/u/argoran)\
**Post date:** [August 13, 2021, 2:35pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/10 "2021-08-13T14:35:15Z")

</div>

@amackenzie , thanks for your response and explanation. I might look in to upgrading to the latest version of MacOS.

---

<div class="post-metadata">

**Author:** ![hong](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/hong/32/1613_2.png) [@hong](https://community.solace.com/u/hong)\
**Post date:** [August 17, 2021, 3:06pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/11 "2021-08-17T15:06:04Z")

</div>

The following product has been released and is available for download:

- **Solace PubSub+ Messaging API for Python 1.2.0**

**Release Summary**

The following new features have been introduced in this release:

- Support for Kerberos client authentication
- Additional Direct Receiver Back Pressure Strategies
- Replay after Replication Group Message ID

Please refer to the product release notes for information on new features, changed functionality, resolved issues, known issues and upgrade considerations.

**Download**

The API can be downloaded from products.solace.com.

Note: Access to [products.solace.com](http://products.solace.com) requires your account name and password.

**Documentation**

Solace product documentation can be found at [https://docs.solace.com](https://docs.solace.com).

---

<div class="post-metadata">

**Author:** ![hong](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/hong/32/1613_2.png) [@hong](https://community.solace.com/u/hong)\
**Post date:** [March 22, 2022, 3:14pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/12 "2022-03-22T15:14:14Z")

</div>

The following product has been released and is available for download:  
Solace PubSub+ Messaging API for Python 1.3.0 Release Summary  
The following new feature has been introduced in this release:  
OAuth/OIDC Support in Python API The API can be downloaded from&nbsp;  
[products.solace.com](http://products.solace.com)[pypi.org](http://pypi.org) Open Source Report Note: Access to [products.solace.com](http://products.solace.com) requires your account name and password.

---

<div class="post-metadata">

**Author:** ![Connor](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/connor/32/331_2.png) [@Connor](https://community.solace.com/u/Connor)\
**Post date:** [May 11, 2022, 8:35am UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/13 "2022-05-11T08:35:13Z")

</div>

> [@ManuManu](#):
>
> Hi,
> 
> I’m having issues installing version 1.1.0
> 
> > ERROR: Could not find a version that satisfies the requirement solace-pubsubplus==1.1.0 (from versions: 0.2.0, 0.2.1)  
> > ERROR: No matching distribution found for solace-pubsubplus==1.1.0
> 
> Here’s the info:  
> Platform: MacOs Sierra 10.12.6  
> Homebrew version 2.4.9
> 
> - installed python3.7
> 
> - added a softlink  
> `ln -s /usr/local/Cellar/python@3.7/3.7.8_1/bin/python3.7 /usr/local/bin/python3.7`  
> ` python3.7 -V`  
> python 3.7.8
> 
> - created and utilized a virtual environment  
> `python3.7 -m venv venv37`  
> `source venv37/bin/activate`
> 
> - pip list versions under that virtualenv (venv37)  
> `pip==21.2.3`  
> `setuptools==47.1.0`
> 
> - then pip install solace-pubsubplus==1.1.0  
> The error above is showing. I used 3.7 per [Readme guide](https://github.com/SolaceSamples/solace-samples-python/tree/master)

I am having the same problem. Pip is updated, running in a venv, running latest MacOS etc etc and when I install I am offered only 0.2.0 or 0.2.1. I am working on an M1 mac if that makes any difference.

---

<div class="post-metadata">

**Author:** ![Tamimi](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/tamimi/32/2190_2.png) [@Tamimi](https://community.solace.com/u/Tamimi)\
**Post date:** [May 11, 2022, 4:47pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/14 "2022-05-11T16:47:41Z")

</div>

Hi @Connor \> ! I tired the following and was able to install the latest version of the solace python API. Can you please confirm what version of python and pip you have in your virtual environment? See below what I did from scratch.

# Create a new directory and navigate to it

> > mkdir demo && cd “$\_”
> 
> # Create virtual environment and activate it
> 
> > python3 -m venv venv  
> > source venv/bin/activate
> 
> # Check Python and pip versions
> 
> > python --version  
> > Python 3.8.9  
> > pip list  
> > Package&nbsp; &nbsp; Version
> 
> * * *
> 
> pip&nbsp; &nbsp; &nbsp; &nbsp; 20.2.3  
> setuptools 49.2.1  
> WARNING: You are using pip version 20.2.3; however, version 22.0.4 is available.
> 
> # Note that I have pip version 20.2.3
> 
> # If I attempt to install solace-pubsubplus version 1+ I get the following error
> 
> > pip install solace-pubsubplus==1.1.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; % py demo  
> > ERROR: Could not find a version that satisfies the requirement solace-pubsubplus==1.1.0 (from versions: 0.2.0, 0.2.1)  
> > ERROR: No matching distribution found for solace-pubsubplus==1.1.0  
> > WARNING: You are using pip version 20.2.3; however, version 22.0.4 is available.
> 
> # Upgrade pip
> 
> > pip install --upgrade pip  
> > Collecting pip  
> > &nbsp; Using cached pip-22.0.4-py3-none-any.whl (2.1 MB)  
> > Installing collected packages: pip  
> > &nbsp; Attempting uninstall: pip  
> > &nbsp; &nbsp; Found existing installation: pip 20.2.3  
> > &nbsp; &nbsp; Uninstalling pip-20.2.3:  
> > &nbsp; &nbsp; &nbsp; Successfully uninstalled pip-20.2.3  
> > Successfully installed pip-22.0.4  
> > ﻿# Now install latest version of solace python API  
> > pip install solace-pubsubplus==1.3.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; % py demo  
> > Collecting solace-pubsubplus==1.3.0  
> > &nbsp; Using cached solace\_pubsubplus-1.3.0-py36-none-macosx\_10\_15\_x86\_64.whl (5.5 MB)  
> > Installing collected packages: solace-pubsubplus  
> > &nbsp; Attempting uninstall: solace-pubsubplus  
> > &nbsp; &nbsp; Found existing installation: solace-pubsubplus 1.1.0  
> > &nbsp; &nbsp; Uninstalling solace-pubsubplus-1.1.0:  
> > &nbsp; &nbsp; &nbsp; Successfully uninstalled solace-pubsubplus-1.1.0  
> > Successfully installed solace-pubsubplus-1.3.0  
> > ﻿# List installed packages  
> > pip list&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; % py demo  
> > Package&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Version
> 
> * * *
> 
> pip&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;22.0.4  
> setuptools&nbsp; &nbsp; &nbsp; &nbsp; 49.2.1  
> solace-pubsubplus 1.3.0﻿  
> Hopefully this helps 🙂

---

<div class="post-metadata">

**Author:** ![Connor](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/connor/32/331_2.png) [@Connor](https://community.solace.com/u/Connor)\
**Post date:** [May 12, 2022, 11:33am UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/15 "2022-05-12T11:33:02Z")

</div>

Thanks for your reply. Pip is updated to 22.04 and when I try install solace-pubsubplus I get this  
ERROR: Could not find a version that satisfies the requirement solace-pubsubplus==1.3.0 (from versions: 0.2.0, 0.2.1)  
ERROR: No matching distribution found for solace-pubsubplus==1.3.0  
My colleagues on Intel Macs do not have this issue, so I suspect it has something to do with the architecture. Any help/ideas would be much appreciated.

---

<div class="post-metadata">

**Author:** ![Tamimi](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/tamimi/32/2190_2.png) [@Tamimi](https://community.solace.com/u/Tamimi)\
**Post date:** [May 12, 2022, 3:53pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/16 "2022-05-12T15:53:00Z")

</div>

Hey @Connor - I just confirmed that the supported operating systems listed on the PyPi project page do not have ARM support (yet) so you wont be able to use the Python API for now on your M1 MacOS natively. Alternatively, you can take a dockerized approach to using the API in a supported OS.

---

<div class="post-metadata">

**Author:** ![Connor](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/connor/32/331_2.png) [@Connor](https://community.solace.com/u/Connor)\
**Post date:** [May 13, 2022, 9:44am UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/17 "2022-05-13T09:44:33Z")

</div>

Thank you for the information. Correct me if I am wrong, but there is no ARM-native pubsub+ image and I could not get the x86 image to run under emulation, so docker is not an alternative option unfortunately. Based on this:

> [@Smith Thapa](#):
>
> Can I please know if you are planning to release ARM docker image for Solace PubSub standard in the near future?&nbsp;  
> New engineers in our team uses M1 Mac but they can’t setup Solace locally in their docker as the current images do not work on M1 Mac and they are blocked at the moment due to this issue.
> 
> Cheers,  
> Smith

It seems that I am not the only one encountering issues with running the docker images on M1. Thanks for all your help @Tamimi !

---

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [May 13, 2022, 1:59pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/18 "2022-05-13T13:59:17Z")

</div>

Hi @Connor ,  
You’re correct - there is not an ARM-native pubsub+ event broker image at this time. Right now the easiest option, in most cases, for those using ARM based machines would be to run a broker in Solace Cloud.

---

<div class="post-metadata">

**Author:** ![Tamimi](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/tamimi/32/2190_2.png) [@Tamimi](https://community.solace.com/u/Tamimi)\
**Post date:** [May 13, 2022, 3:00pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/19 "2022-05-13T15:00:51Z")

</div>

@Connor You are correct! So you wont be able to run the software Solace PubSub+ Broker image on docker on an ARM based M1 MacBook (Yet). However since you were wondering about using the Solace PubSub+ Messaging API, you can still run [the API] on a docker image and connect it to a cloud based broker.  
Say you have a local centos docker image docker pull centos \> (note that you can also have any python image) then run the image under emulation  
docker run -it --shm-size 1g --platform linux/amd64 centos:latest bash

> And then you can install and use the Solace API  
> mkdir ./venv  
> python3 -m venv ./venv  
> source ./venv/bin/activate  
> python -m pip install --upgrade pip  
> python -m pip install solace-pubsubplus  
> Note: Assuming you have python installed in your centos image:  
> yum update -y  
> yum install -y python3  
> Let me know if this helps!

---

<div class="post-metadata">

**Author:** ![hong](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/hong/32/1613_2.png) [@hong](https://community.solace.com/u/hong)\
**Post date:** [November 10, 2022, 7:13pm UTC](https://community.solace.com/t/solace-pubsub-messaging-api-for-python-releases/774/20 "2022-11-10T19:13:33Z")

</div>

The following product has been released and is available for download:  
Solace PubSub+ Messaging API for Python 1.4.0 Release Summary  
The following new features have been introduced in this release:  
Python - Local/Session Transaction Support Python - Handle Unsolicited Broker Termination The API can be downloaded from  
[products.solace.com](http://products.solace.com)[pypi.org](http://pypi.org) Open Source Report Note: Access to [products.solace.com](http://products.solace.com) requires your account name and password.
