TANGO icon indicating copy to clipboard operation
TANGO copied to clipboard

Environmental Issues 环境问题

Open unsiao opened this issue 1 year ago • 3 comments

# [Optional] Create a virtual env
conda create -n tango python==3.9.20
conda activate tango
# Install with pip:
pip install -r ./pre-requirements.txt
error>pip install -r ./requirements.txt

When installing an environment with conda, an error occurs: 在conda 安装环境提示错误:

(tango) D:\TANGO>pip install -r ./requirements.txt
Looking in indexes: https://pypi.org/simple, https://download.openmmlab.com/mmcv/dist/cu118/torch2.1.0/index.html
ERROR: mmcv-2.1.0-cp39-cp39-manylinux1_x86_64.whl is not a supported wheel on this platform.

unsiao avatar Nov 18 '24 04:11 unsiao

改下/requirements.txt

VangengLab avatar Nov 18 '24 09:11 VangengLab

改成window系统的就可以了,很简单,其他人帖子里面有提到修改方式,

tsxxdw avatar Nov 29 '24 16:11 tsxxdw

windows系统修改requirements.txt安装通过:mmcv==2.1.0 还有一个地方改一下,限制一下版本(升级带来问题):moviepy==1.0.3 最后,如果是国内,可以修改一下模型下载使用镜像:set HF_ENDPOINT=https://hf-mirror.com 还可参考一下,可能对你顺利部署有帮助: (1)https://github.com/CyberAgentAILab/TANGO/issues/27 (2)https://github.com/CyberAgentAILab/TANGO/issues/29 然后再运行:python app.py

neuyangjian avatar Feb 22 '25 11:02 neuyangjian