"ImportError: cannot import name OVSLegacyKernelSwitch"
2024-08-26 02:51:49
My VirtualMachine OS is Ubuntu14.04, Linux. Recently I want to install the mininet in my OS, and I used the following steps to install it:
cd mininet
util/install.sh -a
then it successfully. However, when I tried the command mn
to start mininet, I got this exception:
root@ubuntu:/home/wasdns# mn
Traceback (most recent call last):
File "/usr/bin/mn", line 27, in <module>
from mininet.node import ( Host, CPULimitedHost, Controller, OVSController,
ImportError: cannot import name OVSLegacyKernelSwitch
The way I solved it is adding sudo
to the command: sudo mn
.
2017/1/18
最新文章
- oracle分区表知识
- freemarker
- MySQL下载安装、配置与使用(win7x64)
- Linux C 文件与目录3 文件读写
- Java中Scanner类
- 为什么struts2 ajax 方法执行两次
- 最短路知识点总结(Dijkstra,Floyd,SPFA,Bellman-Ford)
- CCS Debug Assertion Failed
- DOUAudioStreamer 中kqueue的应用
- Java基本包装类型
- ionic4+angular6 混合移动开发 capacitor cordova
- Android Jetpack 组建介绍(二)——Lifecycler
- Atitit.resin&#160;&#160;could&#160;not&#160;create&#160;the&#160;java&#160;virtual&#160;machine问题
- 【Asp.net入门5-02】创建数据模型和存储库
- js中,三元运算的简单应用(?:)
- springcloud 开发时快速剔除无用服务
- 1132. Cut Integer (20)
- selenium使用js进行点击
- 【java规则引擎】之Drools引擎中模拟ReteooStatefulSession内部设计结构
- MVC如何在路由器(RouteConfig)定义后缀.html
热门文章
- 【Flask】在Flask中使用logger
- CGI/FastCGI/mod_php工作原理
- 网络编程(基于udp协议的套接字/socketserver模块/进程简介)
- spring 自定义事物同步器(一): TransactionSynchronizationManager 解析
- maven之jre默认配置
- 避免SSH连接因超时闲置断开
- 20165324 学习基础与C语言学习心得
- iOS学习之Objective-C 2.0 运行时系统编程
- python阳历转阴历,阴历转阳历
- Codeforces Round #403 (Div. 2, based on Technocup 2017 Finals) A. Andryusha and Socks