![]() I don't necessarily think that's related to the other OSError, but it's worth addressing, in case it is related in some non-obvious way. Psutil is imported unconditionally in one of the tests files, so it needs to be installed to run the tests. Tests/python_package_test/test_engine.py:12: in Į ModuleNotFoundError: No module named 'psutil' ![]() Return _bootstrap._gcd_import(name, package, level) /opt/anaconda3/envs/lgbm-dev/lib/python3.9/importlib/_init_.py:127: in import_module Hint: make sure your test modules/packages have valid Python names. ![]() ImportError while importing test module '/Users/XXX/repos/LightGBM/tests/python_package_test/test_engine.py'. ![]() _ ERROR collecting tests/python_package_test/test_engine.py _ This seems to be a common problem with other Python packages and M1 Macs, but I haven't been able to find a consistent solution. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |