[openstack-dev] [Neutron] ImportError: No module named neutron_lib
Neil Jerram
neil at tigera.io
Tue Mar 7 11:01:43 UTC 2017
Hi Sam,
On Tue, Mar 7, 2017 at 8:05 AM Sam <batmanustc at gmail.com> wrote:
> Is this?
>
> https://pypi.python.org/pypi/neutron-lib
>
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.
Best wishes,
Neil
>
> 2017-03-07 15:48 GMT+08:00 Sam <batmanustc at gmail.com>:
>
> Hi,
>
> 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
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170307/00479a49/attachment.html>
More information about the OpenStack-dev
mailing list