Ask Your Question
0

oslo_messaging issue

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

zohaib gravatar image

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

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/producer.py", 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
0

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

zohaib gravatar image

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

It will work with thanks Edurado

import oslo_messaging as messaging
edit flag offensive delete link more
0

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

Hi,

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

Regards

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

Stats

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

Seen: 82 times

Last updated: Oct 19 '15