Hi,
anyone know what is cause? i tried to run this in my agent. but somehow this got this error after agent install depedencies
my_env:
clearml-agent=1.5.2
clearml-sever=1.11
clearml=1.11
my_error:
Traceback (most recent call last):
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/task_repository/template-yolov8.git/src/train.py", line 24, in <module>
task = Task.init(
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/task.py", line 603, in init
task = cls(
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/task.py", line 205, in __init__
super(Task, self).__init__(**kwargs)
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/task/task.py", line 162, in __init__
super(Task, self).__init__(id=task_id, session=session, log=log)
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/base.py", line 145, in __init__
super(IdObjectBase, self).__init__(session, log, **kwargs)
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/base.py", line 39, in __init__
self._session = session or self._get_default_session()
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/base.py", line 115, in _get_default_session
InterfaceBase._default_session = Session(
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_api/session/session.py", line 157, in __init__
self._connect()
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_api/session/session.py", line 163, in _connect
self._ssl_error_count_verbosity = self.config.get(
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/config/__init__.py", line 32, in get
cls._init()
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/config/__init__.py", line 26, in _init
cls._config = load_config(Path(__file__).parent) # noqa: F405
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_api/config/__init__.py", line 13, in load
config = Config()
File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_config/config.py", line 100, in __init__
raise ValueError("Invalid environment %s" % env)
ValueError: Invalid environment None
config cache
venvs_cache: {
# maximum number of cached venvs
max_entries: 10
# minimum required free space to allow for cache entry, disable by passing 0 or negative value
free_space_threshold_gb: 20.0
# unmark to enable virtual environment caching
path: /home/agfian/shared/ssd_1/clearml-cache/venvs-cache
},
docker_internal_mounts {
sdk_cache: "/clearml_agent_cache"
apt_cache: "/home/user/shared/ssd_1/clearml-cache/apt-cache"
ssh_folder: "/root/.ssh"
pip_cache: "/home/user/shared/ssd_1/clearml-cache/pip"
poetry_cache: "/home/user/shared/ssd_1/clearml-cache/pypoetry"
vcs_cache: "/home/user/shared/ssd_1/clearml-cache/vcs-cache"
venv_build: "/home/user/shared/ssd_1/clearml-cache/venvs-builds"
pip_download: "/home/user/shared/ssd_1/clearml-cache/pip-download-cache"
}
TIA 🙌