llama2-lora-fine-tuning
llama2-lora-fine-tuning copied to clipboard
ImportError: cannot import name 'import_path' from '_pytest.doctest'
这个问题怎么解决,pytest是最新的。
Traceback (most recent call last):
File "/data/home/scv9515/A_suke_file/ALLMs/llama2-lora-fine-tuning/finetune-lora.py", line 45, in
我也遇到了,pytest版本8.2.0, from _pytest.doctest import ( E ImportError: cannot import name 'import_path' from '_pytest.doctest' (/home/li/.conda/envs/mindspore_py39/lib/python3.9/site-packages/_pytest/doctest.py)