说“itk”时出错没有安装,但是已经安装了

发布于 2025-01-15 15:56:13 字数 1511 浏览 4 评论 0原文

我正在尝试在我的 centos 7.9 系统上安装 ab-initio 程序Quantum-espresso (v.7)。不同的子程序编译和链接没有错误。虽然主程序运行良好(基于命令行/文件),但 gui (PWgui) 在运行时会引发错误,指出未安装“itk”(Tk 的面向对象扩展)。不管怎样,它已经安装了(请看下面的剪辑以供参考)。关于如何解决这个问题有什么建议吗?

(base) > /data/Software/qe-7.0/GUI/PWgui>./pwgui

 ==================================================
  This is PWgui version: 7.0
 --------------------------------------------------


 PWgui: using the system default "tclsh" interpreter

 PWGUI       : /data/Software/qe-7.0/GUI/PWgui
 GUIB engine : /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6

can't find package itk
    while executing
"package require itk"
    (file "/data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl" line 12)
    invoked from within
"source /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl"
    ("package ifneeded Guib 0.6" script)
    invoked from within
"package require Guib 0.5"
    (file "/data/Software/qe-7.0/GUI/PWgui/init.tcl" line 5)
    invoked from within
"source [file join $env(PWGUI) init.tcl]"
    (file "/data/Software/qe-7.0/GUI/PWgui/pwgui.tcl" line 60)
(base) > su
Password: 
(base) > :/data/Software/qe-7.0/GUI/PWgui>yum install itk-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * centos-sclo-rh: ftp.iij.ad.jp
 * centos-sclo-sclo: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Package itk-devel-3.4-9.el7.x86_64 already installed and latest version
Nothing to do

I am trying to install the ab-initio program quantum-espresso (v. 7) on my centos 7.9 system. The different sub-programs compile and link without error. While the main programs work fine (command line/file based), the gui (PWgui) raises an error when it run stating that "itk" (object-oriented extensions to Tk) is not installed. It is, however installed (take a look at the clipping below for reference). Any suggestions as to how to resolve this?

(base) > /data/Software/qe-7.0/GUI/PWgui>./pwgui

 ==================================================
  This is PWgui version: 7.0
 --------------------------------------------------


 PWgui: using the system default "tclsh" interpreter

 PWGUI       : /data/Software/qe-7.0/GUI/PWgui
 GUIB engine : /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6

can't find package itk
    while executing
"package require itk"
    (file "/data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl" line 12)
    invoked from within
"source /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl"
    ("package ifneeded Guib 0.6" script)
    invoked from within
"package require Guib 0.5"
    (file "/data/Software/qe-7.0/GUI/PWgui/init.tcl" line 5)
    invoked from within
"source [file join $env(PWGUI) init.tcl]"
    (file "/data/Software/qe-7.0/GUI/PWgui/pwgui.tcl" line 60)
(base) > su
Password: 
(base) > :/data/Software/qe-7.0/GUI/PWgui>yum install itk-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * centos-sclo-rh: ftp.iij.ad.jp
 * centos-sclo-sclo: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Package itk-devel-3.4-9.el7.x86_64 already installed and latest version
Nothing to do

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浮萍、无处依 2025-01-22 15:56:13

ITK 当前的稳定版本是 5.2.1。 ITK 3.4 已有 15 年历史。我认为 Tk 可以在某些旧版本中访问 ITK。但这听起来像是版本问题。

Current stable version of ITK is 5.2.1. ITK 3.4 is 15 years old. I think Tk could access ITK in some old versions. But this smells like versions problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文