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

cannot find module after installation #63

Open
mwas01 opened this issue Oct 5, 2023 · 0 comments
Open

cannot find module after installation #63

mwas01 opened this issue Oct 5, 2023 · 0 comments

Comments

@mwas01
Copy link

mwas01 commented Oct 5, 2023

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
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant