Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module load python error: "Tcl wasn't installed properly" #512

Closed
niaberrian opened this issue Sep 18, 2023 · 3 comments
Closed

module load python error: "Tcl wasn't installed properly" #512

niaberrian opened this issue Sep 18, 2023 · 3 comments

Comments

@niaberrian
Copy link

Describe the bug

After running "module load python" on my computer cluster, I received the error: ERROR: Can't find a usable init.tcl in the following directories:
/software/fsl-6.0.6.2/lib/tcl8.6 /usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library /tcl8.6.12/library /tcl8.6.12/library

To Reproduce

Steps to reproduce the behavior:

$ module load fsl/6.062
$ module load python
...

Location and content of any modulerc or modulefile involved: /project2/abcd

$ cat path/to/modulepath/module/version
$ cat path/to/modulepath/module/.modulerc
$ cat path/to/modulepath/.modulerc
...

Expected behavior

I expected to be able to use python to run a script in a compute node.

Modules version and configuration

$ module --version
$ module config --dump-state

Additional context

@xdelaruelle
Copy link
Member

It seems like a Tcl installation issue. Could you precise how Tcl has been installed on your system.

Is there specific TCL_* environment variable defined in your environment?

Issue #489 was about the same thing, but it was not possible to clarify it due to the lack of information.

More information is also expected here to be able to help.

@niaberrian
Copy link
Author

niaberrian commented Sep 19, 2023 via email

@xdelaruelle
Copy link
Member

Hello,

I suggest you print the module shell function definition in your shell session:

$ type module

Extract from the obtained output the location of the tclsh command configured to run the modulecmd.tcl.

Try to execute this tclsh command directly. You should obtain the same error as mentioned previously.

Then I suggest you report this error to the people in charge of your university cluster. They should fix the Tcl installation for Environment Modules to correctly operate.

@xdelaruelle xdelaruelle closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants