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
Hey, I Am Following The Docs To Use Clearml-Session And Getting The Following Error

Hey, I am following the docs to use clearml-session and getting the following error

> Environment setup completed successfully
> Starting Task Execution:
> Traceback (most recent call last):
>   File "/home/clearml/.clearml/venvs-builds.1/3.8/code/interactive_session.py", line 372, in <module>
>     import psutil
> ModuleNotFoundError: No module named 'psutil'
> Process failed, exit code 1

where is "psutil" missing? I tried to install it into the session with --packages but it seems the error occurs before such extra deps are installed.

Posted 12 months ago
Votes Newest

Answers 9

What command are you using to run clearml-session?

Posted 11 months ago

@<1523701087100473344:profile|SuccessfulKoala55> I added some extra logs. Does this help to understand whats going on?

Posted 11 months ago

Adding venv into cache: /home/clearml/.clearml/venvs-builds/3.8
Running task id [...]:
[.]$ /home/clearml/.clearml/venvs-builds/3.8/bin/python -u /home/clearml/.clearml/venvs-builds/3.8/code/interactive_session.py
Summary - installed python packages:
- Cython==0.29.34
Environment setup completed successfully
Starting Task Execution:
Traceback (most recent call last):
  File "/home/clearml/.clearml/venvs-builds/3.8/code/interactive_session.py", line 372, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'
Posted 11 months ago

Hi @<1523702513461628928:profile|JumpyRabbit71> , how exactly are you running cleaeml-session? Are you using a self-hosted server? And where did you set up an agent?

Posted 12 months ago


tried with some flags for requirements and git-credentials but that didn't change anything.

Posted 11 months ago

@<1523701087100473344:profile|SuccessfulKoala55> are there any other infos that would help to get a picture of what is happening? Does the agent need any special configuration to be able to run a clearml-session?

Posted 11 months ago

Hi @<1523701087100473344:profile|SuccessfulKoala55> Im using hosted clearml, only the agent is self hosted on a local machine. I have used that setup to train on the agent without problem. Only when trying session that issue occurs

Posted 11 months ago

Can you include the complete log of the interactive-session task? Also, the contents of the UNCOMMITTED CHANGES section might prove useful

Posted 11 months ago

[package_manager.force_repo_requirements_txt=true] Skipping requirements, using repository "requirements.txt" 
created virtual environment CPython3.8.10.final.0-64 in 101ms
  creator CPython3Posix(dest=/home/clearml/.clearml/venvs-builds/3.8, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/clearml/.local/share/virtualenv)
    added seed packages: pip==23.0.1, setuptools==67.6.1, wheel==0.40.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
Requirement already satisfied: pip in /home/clearml/.clearml/venvs-builds/3.8/lib/python3.8/site-packages (23.0.1)
Collecting pip
  Using cached pip-23.1.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.0.1
    Uninstalling pip-23.0.1:
      Successfully uninstalled pip-23.0.1
Successfully installed pip-23.1.1
Collecting Cython
  Using cached Cython-0.29.34-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (2.0 MB)
Installing collected packages: Cython
Successfully installed Cython-0.29.34
Posted 11 months ago