Как установить этот файл require.txtPython

Программы на Python
Anonymous
 Как установить этот файл require.txt

Сообщение Anonymous »

Я новичок в вопросах искусственного интеллекта и машинного обучения. Я хочу запустить модель на своем компьютере, но когда дело доходит до pip install -r require.txt
, я получаю такие ошибки, как: «ОШИБКА:

Код: Выделить всё

/mnt/disk1/anaconda3/envs/anhnct/lib/python3.8/site-packages is not a valid editable requirement.
It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+)."
Некоторые строки файла выглядят так:

Код: Выделить всё

apex @ file:///mnt/disk4/handsign_project/son_data/universal-medical-image-segmentation/apex
appdirs==1.4.4
arabic-reshaper==2.1.3
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astor==0.8.1
asttokens @ file:///opt/conda/conda-bld/asttokens_1646925590279/work
astunparse @ file:///home/conda/feedstock_root/build_artifacts/astunparse_1610696312422/work
async-timeout @ file:///opt/conda/conda-bld/async-timeout_1664876359750/work
attrdict==2.0.1
attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1659291887007/work
autograd==1.6.2
# Editable install with no version control (mmdeploy==1.3.1)
-e /mnt/disk1/anaconda3/envs/anhnct/lib/python3.8/site-packages
mmdeploy-runtime==1.3.1
mmdeploy-runtime-gpu==1.3.1
mmdet==3.2.0
mmengine==0.10.3
Итак, есть ли способ установить правильную версию этих библиотек?

Подробнее здесь: https://stackoverflow.com/questions/797 ... s-txt-file

Вернуться в «Python»