[openstack-dev] [Neutron] ImportError: No module named neutron_lib

Tony Breeds tony at bakeyournoodle.com
Tue Mar 7 21:28:17 UTC 2017

On Tue, Mar 07, 2017 at 04:04:55PM +0800, Sam wrote:
> Is this?
> https://pypi.python.org/pypi/neutron-lib

Make sure you're installing with upper-constratints otehrwise you'll get
components that rely on features for newer releases

Assuming you're installing with pip something like[1]

wget 'http://tarballs.openstack.org/neutron/neutron-8.4.0-py2.py3-none-any.whl'
wget 'http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/mitaka'

pip install -c upper-constratints.txt ./neutron-8.4.0-py2.py3-none-any.whl

Should get you a stable/mitaka neutron with appropriate versions of all
libraries in use.

Yours Tony.

[1] You may be able to pass the URLs directly to pip but I haven't tested that for wheels
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170308/966bd601/attachment.pgp>

More information about the OpenStack-dev mailing list