本地编译Open vSwitch时报错
Traceback(mostrecentcalllast): File"./ovsdb/ovsdb-idlc.in",line8,in<module> importovs.json File"/root/rpmbuild/BUILD/openvswitch-2.6.0/python/ovs/json.py",line21,in<module> importsix ImportError:Nomodulenamedsix Traceback(mostrecentcalllast): File"./ovsdb/ovsdb-idlc.in",in<module> importsix ImportError:Nomodulenamedsix Traceback(mostrecentcalllast): make:***[tests/idltest.ovsidl]Error1 File"./ovsdb/ovsdb-idlc.in",in<module> make:***Waitingforunfinishedjobs.... importovs.json File"/root/rpmbuild/BUILD/openvswitch-2.6.0/python/ovs/json.py",in<module> importsix ImportError:Nomodulenamedsix
可以大致判断是因为python缺少组件的bug
解决办法就是手动安装:
yuminstall-ypython-six
下载路径:http://mirrors.163.com/centos/7/os/x86_64/Packages/python-six-1.9.0-2.el7.noarch.rpm
2016-10-14
原文链接:https://www.f2er.com/centos/380370.html