clearml
clearml copied to clipboard
clearml-agent: command not found
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.


@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 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?
Can you perhaps try to pip install the clearml-agent with sudo
?
Also, which pip
version are you using? Can you try to upgrade your pip
version and try to reinstall clearml-agent?
@GlingK Are you sure the path clearml-agent is installed on (for example $HOME/.local/bin) is in your PATH?