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, I Have A Yolox Project That When I Run Locally Its Working But When I Try To Run It With An Agent (On The Same Server And Same User) It Fails. With The Following Message:

Hi,
I have a yolox project that when I run locally its working but when I try to run it with an agent (on the same server and same user) it fails. with the following message:

File "/home/bat/.clearml/venvs-builds/3.9/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 23, in <module>
    from pkg_resources import packaging  # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources' (/home/bat/.clearml/venvs-builds/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py)

I've tried uninstalling all packages and purging all the caches and I still get this error.
Full log is also uploaded.

  
  
Posted 3 months ago
Votes Newest

Answers 2


Hi @<1523701205467926528:profile|AgitatedDove14> ,
That solved my problem thank you, from my deep dive I've found the problem there was a package called install that changed it's name to pip-install and its requirement was setuptools .
Thanks again for the help.

  
  
Posted 3 months ago

Hi @<1523701295830011904:profile|CluelessFlamingo93>
from your log:

ImportError: cannot import name 'packaging' from 'pkg_resources' (/home/bat/.clearml/venvs-builds/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py)

I'm guessing yolox/setuptools
None
Try adding to the "Installed packages"

setuptools==69.5.1

(Something about the setuptools==70.0.0 release broke pkg_resources )

  
  
Posted 3 months ago
316 Views
2 Answers
3 months ago
3 months ago
Tags