Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi! Could You Please Help With The Following Question: Is It Possible To Execute The

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!

  
  
Posted 2 months ago
Votes Newest

Answers 2


Hi @<1743079861380976640:profile|HighKitten20> , what if you try to set the extra flags like this ["-e", "."]

  
  
Posted 2 months ago

@<1523701070390366208:profile|CostlyOstrich36> cool, it worked! Thanks a lot!

  
  
Posted 2 months ago
125 Views
2 Answers
2 months ago
2 months ago
Tags