在我的Linux(Debian Strech)上安装了GNS3并收到以下错误消息,请帮助,从包安装,操作系统更新。 qt并在我的机器上安装最新版本(已安装)。
更新安装失败:没有名为'sip'的模块** **无法导入Qt模块:Qt和/或PyQt可能安装不正确......
任何帮助/解决问题的方向都将受到高度赞赏。
先谢谢。
答案 0 :(得分:1)
对于仍然遇到此错误的任何人,我发现这是由于Xenial到Bionical的升级导致PPA徘徊,我想这里缺少一个依赖项。这正是我为修复它所做的事情。
sudo rm /etc/apt/sources.list.d/gns3*
sudo apt-get update
sudo add-apt-repository ppa:gns3/ppa
sudo apt-get update
sudo apt-get -y -u dist-upgrade
然后您可以启动gns3。
答案 1 :(得分:0)
我发现问题是source.list中的一个来源。
在我的例子中是firefox量子
答案 2 :(得分:0)
我通过从源文件安装解决了这个问题,通过这个链接,将1.3.9替换为2.1.2并且工作了。
https://gns3.com/discussions/getting-gns4-1-4beta1-gui-runnin
答案 3 :(得分:0)
在将Ubuntu升级到20.04之后,我得到了这个。唯一有效的方法是使用项目文件备份GNS3文件夹,然后卸载gns3-server和gns3-gui,然后重新安装。现在一切正常。
答案 4 :(得分:0)
尝试安装此python模块:
*NetLogo is unable to supply you with more details about this error. Please report the problem
at https://github.com/NetLogo/NetLogo/issues, or to bugs@ccl.northwestern.edu, and paste the
contents of this window into your report.
java.lang.Exception: Unable to open model with current format: /C:/Program Files/NetLogo 6.1.1/app/models/Sample Models/Computer Science/Wolf Sheep Predation.nlogo
at org.nlogo.api.ModelLoader.readModel(ModelLoader.scala:65)
at org.nlogo.api.ModelLoader.readModel$(ModelLoader.scala:60)
at org.nlogo.api.ConfigurableModelLoader.readModel(ModelLoader.scala:106)
at org.nlogo.headless.HeadlessWorkspace.open(HeadlessWorkspace.scala:502)
at org.nlogo.ls.HeadlessChildModel.<init>(HeadlessChildModel.scala:40)
at org.nlogo.ls.LevelSpace.createHeadlessModel(LevelSpace.scala:107)
at org.nlogo.ls.LevelSpace.$anonfun$load$1(LevelSpace.scala:53)
at org.nlogo.ls.CreateModels.$anonfun$perform$5(Prims.scala:189)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:158)
at org.nlogo.ls.CreateModels.perform(Prims.scala:188)
at org.nlogo.prim._extern.perform(_extern.java:36)
at org.nlogo.nvm.Context.stepConcurrent(Context.java:107)
at org.nlogo.nvm.ConcurrentJob.step(ConcurrentJob.scala:65)
at org.nlogo.job.JobThread.runPrimaryJobs(JobThread.scala:133)
at org.nlogo.job.JobThread.$anonfun$run$1(JobThread.scala:68)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at scala.util.control.Exception$Catch.apply(Exception.scala:228)
at org.nlogo.api.Exceptions$.handling(Exceptions.scala:41)
at org.nlogo.job.JobThread.run(JobThread.scala:66)
NetLogo 6.1.1
main: org.nlogo.app.AppFrame
thread: AWT-EventQueue-0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_202 (Oracle Corporation; 1.8.0_202-b08)
operating system: Windows 10 10.0 (amd64 processor)
Scala version 2.12.8
JOGL: (3D View not initialized)
OpenGL Graphics: (3D View not initialized)
model: Untitled
02:24:48.611 TickStateChangeEvent (org.nlogo.app.App$$anon$4 (org.nlogo.window.GUIWorkspace)) JobThread
02:24:48.611 OutputEvent (org.nlogo.app.App$$anon$4 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
02:24:48.611 AddJobEvent (org.nlogo.app.common.CommandLine) AWT-EventQueue-0
02:24:48.611 OutputEvent (org.nlogo.app.common.CommandLine) AWT-EventQueue-0
02:24:48.611 CompiledEvent (org.nlogo.window.CompilerManager) AWT-EventQueue-0
02:24:48.589 CompileMoreSourceEvent (org.nlogo.app.common.CommandLine) AWT-EventQueue-0
02:24:48.589 PeriodicUpdateEvent (org.nlogo.app.App$$anon$4 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
02:24:48.389 PeriodicUpdateEvent (org.nlogo.app.App$$anon$4 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
02:24:48.185 PeriodicUpdateEvent (org.nlogo.app.App$$anon$4 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
02:24:47.981 PeriodicUpdateEvent (org.nlogo.app.App$$anon$4 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0*