说“itk”时出错没有安装,但是已经安装了
我正在尝试在我的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.