allegroai / clearml

ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
https://clear.ml/docs
Apache License 2.0
5.6k stars 651 forks source link

WARNING:root: Could not lock cache folder #1258

Closed sobek1886 closed 4 months ago

sobek1886 commented 5 months ago

Hi, I am trying to remotely execute a task via an azure VM. I get this error and I am not sure how to tackle it. Virtualenv is installed in my local environment.

WARNING:root:Could not lock cache folder /home/azureuser/.clearml/venvs-cache: [Errno 13] Permission denied: '/home/azureuser/.clearml/venvs-cache/.clearml.lock' /home/azureuser/anaconda3/envs/clearml-agent/bin/python3.8: No module named virtualenv

clearml_agent: ERROR: Command '['python3.8', '-m', 'virtualenv', '/home/azureuser/.clearml/venvs-builds.1/3.8']' returned non-zero exit status 1.

sobek1886 commented 4 months ago

Sorry, I missed the detail that the ClearML Agent needs to be installed as a system Python package and not in a Python virtual environment.