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 All, Trying To Run Some Hp Tuning Tasks, For Some Reason (And Even Tho I Deliberately State Before Any Task Is Initialised To Use A Specific Requirements Files) The Sub Tasks Created By The Optimizer Are Using The Pip Freeze Method, This In Turn Causes

Hi All,
trying to run some hp tuning tasks, for some reason (and even tho i deliberately state before any task is initialised to use a specific requirements files) the sub tasks created by the optimizer are using the pip freeze method, this in turn causes a failed attempt to install numpy (before it had an issue with Levenshtein pip package) with the following error:

  ERROR: Command errored out with exit status 1:
   command: /opt/venv/bin/python /opt/venv/lib/python3.10/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-oqd0jp2u/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i 
 --extra-index-url 
 --extra-index-url 
 --trusted-host pypi.ngc.nvidia.com --trusted-host https -- setuptools 'scikit-build>=0.13.0'
       cwd: None
  Complete output (46 lines):
  Traceback (most recent call last):
    File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
      exec(code, run_globals)
    File "/opt/venv/lib/python3.10/site-packages/pip/__main__.py", line 26, in <module>
      sys.exit(_main())
    File "/opt/venv/lib/python3.10/site-packages/pip/_internal/cli/main.py", line 73, in main
      command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
    File "/opt/venv/lib/python3.10/site-packages/pip/_internal/commands/__init__.py", line 104, in create_command
      module = importlib.import_module(module_path)
    File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 883, in exec_module
    File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
    File "/opt/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 24, in <module>
      from pip._internal.cli.req_command import RequirementCommand, with_cleanup
    File "/opt/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 16, in <module>
      from pip._internal.index.package_finder import PackageFinder
    File "/opt/venv/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 21, in <module>
      from pip._internal.index.collector import parse_links
    File "/opt/venv/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 14, in <module>
      from pip._vendor import html5lib, requests
    File "/opt/venv/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py", line 114, in <module>
      from . import utils
    File "/opt/venv/lib/python3.10/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>
      from . import certs
    File "/opt/venv/lib/python3.10/site-packages/pip/_vendor/requests/certs.py", line 15, in <module>
      from pip._vendor.certifi import where
    File "/opt/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py", line 1, in <module>
      from .core import contents, where
    File "/opt/venv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py", line 12, in <module>
      from importlib.resources import read_text
    File "/usr/lib/python3.10/importlib/resources.py", line 4, in <module>
      from . import _common
    File "/usr/lib/python3.10/importlib/_common.py", line 9, in <module>
      from typing import Union, Any, Optional
    File "/opt/venv/lib/python3.10/site-packages/typing.py", line 1359, in <module>
      class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
    File "/opt/venv/lib/python3.10/site-packages/typing.py", line 1007, in __new__
      self._abc_registry = extra._abc_registry
  AttributeError: type object 'Callable' has no attribute '_abc_registry'
  
  
Posted one year ago
Votes Newest

Answers


Hi @<1632551548112343040:profile|UpsetDuck81> , where is this pip install command coming from? This doesn't look like the ClearML Agent command format

  
  
Posted one year ago
850 Views
1 Answer
one year ago
one year ago
Tags
Similar posts