[openstack-dev] [Neutron] ImportError: No module named neutron_lib
neil at tigera.io
Tue Mar 7 11:01:43 UTC 2017
On Tue, Mar 7, 2017 at 8:05 AM Sam <batmanustc at gmail.com> wrote:
> Is this?
Yes, that is one of the ways that neutron-lib is packaged. The 'upstream'
is at http://git.openstack.org/cgit/openstack/neutron-lib.
Exactly how are you using the Neutron code? If you are starting from a git
clone and running Neutron code/tests on your own machine, you should
normally do that within one of the virtual environments that is set up by
'tox', and that process would pull in the neutron-lib code for you.
> 2017-03-07 15:48 GMT+08:00 Sam <batmanustc at gmail.com>:
> I'm using neutron mitaka version, I found lots of files include this:
> "from neutron_lib import exceptions as e"
> But I don't find where is neutron_lib, and I got error as "ImportError: No
> module named neutron_lib"
> Is there some error?
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev