'CLEARML_CONFIG_FILE': '/home/ubuntu/notebooks/clearml.conf'
os.environ['CLEARML_CONFIG_FILE']='~/clearml.conf'
I changed and environment and I think it helped to install clearml. But now I can not get how it can use this my file with conf.
Below is my code:
import os
os.environ[‘CLEARML_CONFIG_FILE’]=‘/clearml.conf’
and then I use import taks.
But if I do not use init, should I export somehow params before?
with such command: !export CLEARML_CONFIG_FILE=/root/clearml.conf
Successfully installed clearml-1.4.1 furl-2.1.3 orderedmultidict-1.0.1 pyjwt-2.1.0
I'm being silly. You're actually directing it to the file itself to where it resides
Can I assume that you've installed the latest version of ClearML?
'CLEARML_CONFIG_FILE': '/home/ubuntu/clearml.conf'
This looks more appropriate if the username itself is "ubuntu"
I can ssh for sure but I do not know how to check the environment 😳
OMG I tried different environment and started everything from scratch and it seems it works…
I found that I can change Kernel and choose env
You must perform Task.init()
to have something reported 🙂
Because now I have successfully import clearml and task but have an error with task initializingValueError: ClearML configuration could not be found (missing
~/clearml.confor Environment CLEARML_API_HOST) To get started with ClearML: setup your own
clearml-server, or create a free account at
Try setting the following environment envs:%env CLEARML_WEB_HOST=
%env CLEARML_API_HOST=
%env CLEARML_FILES_HOST=
%env CLEARML_API_ACCESS_KEY=... %env CLEARML_API_SECRET_KEY=...
and try removing the clearml.conf file 🙂
when I check os.environ I see'CLEARML_CONFIG_FILE': '/clearml.conf'})