import nltk import os nltk.download('wordnet') os.system('python -m mim install "mmcv==2.0.0rc4"') os.system('python -m mim install mmengine==0.7.1') os.system('python -m mim install "mmdet==3.0.0rc5"') os.system('cd pipeline/mmocr') os.system('pip install -v -e .')