@<1523701070390366208:profile|CostlyOstrich36> cool, it worked! Thanks a lot!
Hi @<1743079861380976640:profile|HighKitten20> , what if you try to set the extra flags like this ["-e", "."]
Hi! Could you please help with the following question: is it possible to execute the pip install -e .
command after our code is pulled from git? The thing is, our team doesn’t have a traditional requirements.txt file, and we install dependencies using the --editable
flag.
I tried to add this command through agent.package_manager.extra_pip_install_flags[]
as shown below:
agent {
package_manager: {
extra_pip_install_flags: ["-e .", ],
}
}
but I get the following error:
2024-09-10 15:01:40
Successfully installed pip-22.2.2
ERROR: . is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
Trying pip install: /root/.clearml/venvs-builds/3.10/task_repository/high-def-data.git/requirements.txt
ERROR: . is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
ERROR: Failed installing requirements.txt:
clearml
clearml_agent: ERROR: Command '['/root/.clearml/venvs-builds/3.10/bin/python', '-m', 'pip', '--disable-pip-version-check', 'install', '-r', '/tmp/requirements_2m3gtix4.txt', '-e .']' returned non-zero exit status 1.
2024-09-10 15:01:40
Process failed, exit code 1
Could you please advise if it’s possible to add this command through options and if so, how can I do it?
Thanks in advance!
@<1523701070390366208:profile|CostlyOstrich36> cool, it worked! Thanks a lot!
Hi @<1743079861380976640:profile|HighKitten20> , what if you try to set the extra flags like this ["-e", "."]