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 Everyone, I Have A Task That Installs A Python Requirement From Bitbucket Over Ssh. The Requirement Are Defined In A Requirements.Txt File. In The Agent, That Task Fails Buiding The Environment With The Following Error:

Hi Everyone,
I have a task that installs a python requirement from bitbucket over ssh.
The requirement are defined in a requirements.txt file.
In the agent, that task fails buiding the environment with the following error:

Replacing original pip vcs '
' with 'git+git@bitbucket.org/REST-OF-GIT-URL.git#egg=MY-PACKAGE'
ERROR: Invalid requirement: 'git+git@bitbucket.org/REST-OF-GIT-URL.git#egg=MY-PACKAGE'
Hint: It looks like a path. File 'git+git@bitbucket.org/REST-OF-GIT-URL.git#egg=MY-PACKAGE' does not exist.
RequirementsManager handler <clearml_agent.helper.package.external_req.ExternalRequirements object at 0x7f5d9b4d29a0> raised exception: Failed installing GIT/HTTPs package 'git+git@bitbucket.org/REST-OF-GIT-URL.git#egg=MY-PACKAGE'
clearml_agent: ERROR: Could not install task requirements!
Failed installing GIT/HTTPs package 'git+git@bitbucket.org/REST-OF-GIT-URL.git#egg=MY-PACKAGE'

So it seems like the agent removed the 'ssh://' string from the repo URL, so it's effectively invalid.
Am I doing something wrong here?
That same task used to work so it's very confusing.

  
  
Posted one year ago
Votes Newest

Answers 10


Hi @<1523703961872240640:profile|CrookedWalrus33> , this was actually fixed in the latest agent RC release v 1.5.3rc1 🙂

  
  
Posted one year ago


clearml
numpy
pandas
pycocotools
tqdm
boto3
torch
torchvision
bbox_utils
xmltodict
scikit-video
onnxruntime
flask
  
  
Posted one year ago

How does your requirements.txt look like?

  
  
Posted one year ago

@<1523703961872240640:profile|CrookedWalrus33> , pip instal clearml==1.5.3rc1

  
  
Posted one year ago

How can I install that version?

  
  
Posted one year ago

Please let me know if the issue persists there

  
  
Posted one year ago

pip install clearml==1.5.3rc1

  
  
Posted one year ago

And I'm using the latest clearml / clearml-agent
@<1523701070390366208:profile|CostlyOstrich36>

  
  
Posted one year ago

Oh yes, just saw it on pypi

  
  
Posted one year ago

Thanks @<1523701087100473344:profile|SuccessfulKoala55> @<1523701070390366208:profile|CostlyOstrich36> .
Fixed with the RC.

  
  
Posted one year ago
600 Views
10 Answers
one year ago
one year ago
Tags