Skip to content
Advertisement

No module named certifi

When executing python3 (Python 3.6.8) script on a local directory, it works well, but when running sbatch job in slurm, complains about certifi.

JavaScript

After adding to the python code this:

JavaScript

or this:

JavaScript

the same error occurs. It seems that certifi is installed.

JavaScript

The error after running python code (without having the line ‘import certifi’ in python code):

JavaScript

The error (with having the line ‘import certifi’ in python code):

JavaScript

What could be the solution to the issue?

Advertisement

Answer

Are the same modules installed on the compute nodes as locally? You may need to check with the Slurm admins.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement