Install modelscope with uv
Install modelscope ith uv
for modelscope
uv tool install modelscope --with setuptools
for magic-pdf
uv tool install 'magic-pdf' --with opencv-python,openai,ultralytics,doclayout-yolo,rapid-table,ftfy,dill,shapely,pyclipper,omegaconf
# magic-pdf -p data/abc.pdf -o dist -m auto
Reference
https://www.cosmoscalibur.com/en/blog/2025/modulo-pkg-resources-no-encontrado-en-ambientes-uv/