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

easybuild doesn't find installed OS dependencies #833

Closed
LukeLabrie opened this issue Oct 26, 2022 · 2 comments
Closed

easybuild doesn't find installed OS dependencies #833

LukeLabrie opened this issue Oct 26, 2022 · 2 comments
Milestone

Comments

@LukeLabrie
Copy link

running into the following error on Arch

One or more OS dependencies were not found: [('python-pandas', 'python-h5py', 'python-matplotlib', 'python-uncertainties', 'python-scipy', 'python-numpy', 'python-lxml')]

but these packages are installed; output of pacman -Q python-pandas python-h5py python-matplotlib python-uncertainties python-scipy python-numpy python-lxml:

python-pandas 1.4.4-1
python-h5py 3.7.0-1
python-matplotlib 3.5.2-1
python-uncertainties 3.1.7-1
python-scipy 1.9.3-1
python-numpy 1.23.4-1
python-lxml 4.9.1-1

how does easybuild check for os dependencies?

i tried adding the install locations to my path, which didn't help. not sure if this is related to #818 maybe? just seems like easybuild can't locate any os dependencies for me currently. i know that for the dependencies above i could add them as dependencies instead of os dependencies, but i'd rather not

let me know if i can provide more detail

@LukeLabrie
Copy link
Author

I'm thinking it doesn't make sense to list these as os dependencies. I took a look at the python logic for os dependencies and it will look for executables, which won't work on python modules

@boegel
Copy link
Member

boegel commented Oct 26, 2022

@LukeLabrie EasyBuild currently doesn't know how to check for OS dependencies in Arch, it's only checking with commands like rpm, etc.

The code in check_os_dependency (see https://github.com/easybuilders/easybuild-framework/blob/adb9086598c2c0b776659710da0fa3040fc4de12/easybuild/tools/systemtools.py#L816) should be enhanced to be made aware of Arch/pacman

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