Ase installation test error

Hello. I installed ase on linux and ran ase test. This is the error warning I got. I couldn’t see previous question like this so I asked here. Could anyone tell me how to fix this error? Thank you so much in advance.

Error message:
====================================== warnings summary ======================================
calculator/abinit/test_main.py::test_si[abinit1]
/home/xuanthi/.local/lib/python3.8/site-packages/_pytest/fixtures.py:1675: ResourceWarning: unclosed file <_io.FileIO name=’/dev/null’ mode=‘wb’ closefd=True>
fixturedefs = self._arg2fixturedefs[argname]

forcefields/test_rattle.py::test_rattle
/home/xuanthi/.local/lib/python3.8/site-packages/numpy/core/_asarray.py:138: ResourceWarning: unclosed file <_io.FileIO name=’/dev/null’ mode=‘wb’ closefd=True>
return array(a, dtype, copy=False, order=order, subok=True)

ga/test_basic_example_main_run.py::test_basic_example_main_run[0]
/home/xuanthi/.local/lib/python3.8/site-packages/ase/db/core.py:486: ResourceWarning: unclosed file <_io.TextIOWrapper name=’/dev/null’ mode=‘w’ encoding=‘UTF-8’>
for row in self._select(keys, cmps, explain=explain,

gui/test_run.py::test_reciprocal
/home/xuanthi/.local/lib/python3.8/site-packages/_pytest/runner.py:138: ResourceWarning: unclosed file <_io.BufferedReader name=17>
item.funcargs = None # type: ignore[attr-defined]

– Docs: How to capture warnings — pytest documentation
================================== short test summary info ===================================
FAILED test_imports.py::test_imports - pytest.PytestRemovedIn8Warning: Passing None has bee…
FAILED test_units.py::test_units[2002] - assert None is not None
FAILED test_units.py::test_units[2006] - assert None is not None
FAILED test_units.py::test_units[2010] - assert None is not None
FAILED test_units.py::test_units[2014] - assert None is not None
FAILED calculator/castep/test_castep_interface.py::test_fundamental_params - pytest.PytestR…
ERROR calculator/vasp/test_vasp_calculator.py::test_verify_no_run
ERROR calculator/vasp/test_vasp_calculator.py::test_check_atoms
ERROR calculator/vasp/test_vasp_calculator.py::test_not_atoms[None]
ERROR calculator/vasp/test_vasp_calculator.py::test_not_atoms[a_string]
ERROR calculator/vasp/test_vasp_calculator.py::test_not_atoms[bad_atoms2]
ERROR calculator/vasp/test_vasp_calculator.py::test_bad_pbc[pbc0]
ERROR calculator/vasp/test_vasp_calculator.py::test_bad_pbc[pbc1]
ERROR calculator/vasp/test_vasp_calculator.py::test_bad_pbc[pbc2]
ERROR calculator/vasp/test_vasp_calculator.py::test_vasp_no_cell
ERROR calculator/vasp/test_vasp_calculator.py::test_vasp_name
ERROR calculator/vasp/test_vasp_calculator.py::test_vasp_get_calculator
ERROR calculator/vasp/test_vasp_calculator.py::test_make_command_envvar[ASE_VASP_COMMAND]
ERROR calculator/vasp/test_vasp_calculator.py::test_make_command_envvar[VASP_COMMAND]
ERROR calculator/vasp/test_vasp_calculator.py::test_make_command_envvar[VASP_SCRIPT]
ERROR calculator/vasp/test_vasp_calculator.py::test_make_command_no_envvar
ERROR calculator/vasp/test_vasp_calculator.py::test_make_command_explicit
= 6 failed, 1674 passed, 267 skipped, 2 xfailed, 2 xpassed, 4 warnings, 16 errors in 152.57s (0:02:32) =

Probably the test system cannot see the Vasp installation correctly. See ase test --help-calculators if you need that to work.

The remaining errors are probably library version compatibility problems.