clearml icon indicating copy to clipboard operation
clearml copied to clipboard

clearml-agent: command not found

Open GlingK opened this issue 2 years ago • 5 comments

Thank you for helping us making ClearML better!

Describe the bug

A clear and concise description of what the bug is. I have followed these instructions on installation and tried to configure a clearml-agent machine for remote executing.

To reproduce

Exact steps to reproduce the bug. Provide example code if possible. pip install clearml-agent -> this was installed successfully, 1.4.1 was installed clearml-agent init -> this returns clearml-agent: command not found

Expected behaviour

What is the expected behaviour? What should've happened but didn't? Should have been able to configure clearml-agent

Environment

  • Server type (self hosted \ app.clear.ml): self hosted
  • ClearML SDK Version
  • ClearML Server Version (Only for self hosted). Can be found on the bottom right corner of the settings screen. WebApp: 1.7.0-232 • Server: 1.7.0-232 • API: 2.21
  • Python Version: 3.8
  • OS (Windows \ Linux \ Macos): Linux

Related Discussion

If this continues a slack thread, please provide a link to the original slack thread.

image image

GlingK avatar Nov 19 '22 07:11 GlingK

@GlingK what OS are you using? What Python distribution are you using (conda, for example?) This is an installation issue, as the clearml-agent command is part of the Python wheel spec and it is up to the system's python to install it as an available CLI command.

jkhenning avatar Nov 20 '22 08:11 jkhenning

@jkhenning I'm using Ubuntu 20.04 LTS and Python 3.8.10 (normal CPython that comes installed with the OS). Can you please provide me with some pointers/guidelines how to rectify this situation?

GlingK avatar Nov 21 '22 03:11 GlingK

Can you perhaps try to pip install the clearml-agent with sudo?

jkhenning avatar Nov 21 '22 12:11 jkhenning

Also, which pip version are you using? Can you try to upgrade your pip version and try to reinstall clearml-agent?

jkhenning avatar Nov 21 '22 12:11 jkhenning

@GlingK Are you sure the path clearml-agent is installed on (for example $HOME/.local/bin) is in your PATH?

MikkelAntonsen avatar Nov 23 '23 11:11 MikkelAntonsen