Ask Your Question

oslo_messaging issue

asked 2015-10-19 04:43:36 -0500

zohaib gravatar image

updated 2015-10-19 05:14:21 -0500

I have an issue importing oslo_messaging librarary in my python code. I am running the code in virtual enviornment. error is

Traceback (most recent call last):
File "amqpclient/console/", line 2, in <module>
from oslo_messaging import messaging
ImportError: cannot import name messaging
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-10-19 07:30:09 -0500

zohaib gravatar image

updated 2015-10-19 07:30:47 -0500

It will work with thanks Edurado

import oslo_messaging as messaging
edit flag offensive delete link more

answered 2015-10-19 05:14:01 -0500


you have to import from oslo import messaging instead of from oslo_messaging import messaging


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-19 04:43:36 -0500

Seen: 93 times

Last updated: Oct 19 '15