Goodmorning Michael!

Could you confirm which version of proton you are using?
If you installed it through pip, you should be able to get the version with 
`pip3 list`

Also, could you share the exact script that is giving you issues? Sometimes the 
devil is in the details.


Regards,

Sebastiaan la Fleur

-----Original Message-----
From: Michael Rappazzo <michael.rappa...@infor.com.INVALID>
Sent: donderdag 27 mei 2021 00:08
To: users@qpid.apache.org
Subject: Proton with python 3.9

I have been using proton with python 3.8 for a few weeks without issue, but 
when I recently upgraded my python version to 3.9 I started seeing issues with 
some of the imports for proton.  Specifically:

> ImportError: cannot import name 'Url' from 'proton'
And
> ImportError: cannot import name 'Message' from 'proton'

I can't really see anywhere in the python documentation how the import handling 
changed, but from what I can tell, it seems that the protected module names are 
no longer visible.

I am relatively new to python, so maybe I am missing something.  My code is 
basically derivative from the examples[1].

Thank you for your help.

[1] 
https://qpid.apache.org/releases/qpid-proton-0.34.0/proton/python/examples/index.html



________________________________

Deze e-mail, inclusief eventuele bijlagen, is uitsluitend bestemd voor (gebruik 
door) de geadresseerde. De e-mail kan persoonlijke of vertrouwelijke informatie 
bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking 
van (de inhoud van) deze e-mail (en eventuele bijlagen) aan derden is 
uitdrukkelijk niet toegestaan. Indien u niet de bedoelde geadresseerde bent, 
wordt u vriendelijk verzocht degene die de e-mail verzond hiervan direct op de 
hoogte te brengen en de e-mail (en eventuele bijlagen) te vernietigen.

Informatie vennootschap<http://www.ns.nl/emaildisclaimer>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to