lsf-python-api icon indicating copy to clipboard operation
lsf-python-api copied to clipboard

cannot find module after installation

Open mwas01 opened this issue 1 year ago • 0 comments

I installed the package as per instructions but I'm getting following error (trying to run one of the examples provided in the repo):

LSF: 10.1.0.8 Python: 3.9.5

`hostname[~/repo/lsf-python-api/examples][master !?]$ python3 cluster_info.py Traceback (most recent call last): File "/home/myuser/repo/lsf-python-api/examples/pythonlsf/lsf.py", line 18, in swig_import_helper fp, pathname, description = imp.find_module('_lsf', [dirname(file)]) File "/app/vbuild/RHEL7-x86_64/python/3.9.5/lib/python3.9/imp.py", line 296, in find_module raise ImportError(_ERR_MSG.format(name), name=name) ImportError: No module named '_lsf'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/myuser/repo/lsf-python-api/examples/cluster_info.py", line 1, in from pythonlsf import lsf File "/home/myuser/repo/lsf-python-api/examples/pythonlsf/lsf.py", line 28, in _lsf = swig_import_helper() File "/home/myuser/repo/lsf-python-api/examples/pythonlsf/lsf.py", line 20, in swig_import_helper import _lsf `

mwas01 avatar Oct 05 '23 08:10 mwas01