Skip to content

cannot find module after installation #63

@mwas01

Description

@mwas01

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
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions