使用yolo26

2026-08-24 17:22:50 阅读:19 编辑

先安装miniconda

https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/

进入Anaconda Prompt

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
conda create -n yolo8 python=3.14
conda activate yolo8
pip install torch==2.12.1 torchvision==0.27.1 --index-url https://download.pytorch.org/whl/cpu