Hello,
on my WLS Ubuntu 22.04LTS I installed ase and related packages. Got this error upon running ‘ase test’. Any help, please ?
ase test
.
.
.
.
.rootdir: /home/ruslan/.local/lib/python3.10/site-packages/ase/test
configfile: pytest.ini
collected 3290 items / 1 error / 2 skipped
======================================================== ERRORS ========================================================
___________________________________________ ERROR collecting test_imports.py ___________________________________________
ImportError while importing test module '/home/ruslan/.local/lib/python3.10/site-packages/ase/test/test_imports.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_imports.py:6: in <module>
from numpy import VisibleDeprecationWarning
E ImportError: cannot import name 'VisibleDeprecationWarning' from 'numpy' (/home/ruslan/.local/lib/python3.10/site-packages/numpy/__init__.py)
=============================================== short test summary info ================================================
ERROR test_imports.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================= 2 skipped, 1 error in 3.75s ==============================================
ruslan@DESKTOP-M7D5GNM:~/work/Master-s-thesis/ase_tests$
also
ruslan@DESKTOP-M7D5GNM:~/work/Master-s-thesis/ase_tests$ ase info
platform Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
python-3.10.12 /usr/bin/python3
ase-3.23.0 /home/ruslan/.local/lib/python3.10/site-packages/ase
numpy-2.1.1 /home/ruslan/.local/lib/python3.10/site-packages/numpy
scipy-1.14.1 /home/ruslan/.local/lib/python3.10/site-packages/scipy
matplotlib-3.9.2 /home/ruslan/.local/lib/python3.10/site-packages/matplotlib
spglib not installed
ase_ext not installed
flask not installed
psycopg2 not installed
pyamg not installed