irr*_*ome 3 package-management path environment-variables
我正在尝试在 CentOS 6 集群上创建一个 python-2.7.10 模块。我的简单python-2.7.10
模块文件是:
#%Module1.0
prepend-path PATH /gpfs0/export/opt/anaconda-2.3.0/bin
prepend-path MANPATH /gpfs0/export/opt/anaconda-2.3.0/share
prepend-path LD_LIBRARY_PATH /gpfs0/export/opt/anaconda-2.3.0/lib
set-alias python /gpfs0/export/opt/anaconda-2.3.0/bin/python
set-alias python2.7 /gpfs0/export/opt/anaconda-2.3.0/bin/python
Run Code Online (Sandbox Code Playgroud)
当我加载模块时,例如
module load python-2.7.10
Run Code Online (Sandbox Code Playgroud)
python2.7 工作正常。但是,如果我尝试module list
或module avail
或module unload python-2.7.10
我收到错误
init.c(556):ERROR:161: Cannot initialize TCL
Run Code Online (Sandbox Code Playgroud)
但是,如果我尝试我的octave-4.0.0
模块:
#%Module1.0
prepend-path PATH /gpfs0/export/opt/octave-4.0.0/bin
prepend-path MANPATH /gpfs0/export/opt/octave-4.0.0/share
prepend-path LD_LIBRARY_PATH /gpfs0/export/opt/octave-4.0.0/lib
set-alias octave /gpfs0/export/opt/octave-4.0.0/bin/octave-4.0.0
set-alias octave-gui /gpfs0/export/opt/octave-4.0.0/bin/octave-4.0.0
set-alias octave-cli /gpfs0/export/opt/octave-4.0.0/bin/octave-cli-4.0.0
Run Code Online (Sandbox Code Playgroud)
我可以module list
,module avail
而且module unload octave-4.0.0
很好。显然,我的python-2.7.10
模块损坏了一些东西。我该如何解决?
归档时间: |
|
查看次数: |
6292 次 |
最近记录: |