By default the agent will add the root of the git repository into the pythonpath , so that you can import...
User/pass should be enough,
Could it be the specific commit ID is not pushed?
and I would like to run it on the colab as well(it has the same error)
Creating a dataset sounds like a good idea, but that does not seem to be the issue.
Can you verify you can manually clone using the same link (notice the log should specify the exact clone it is using, with the password replaced with *)
https://stackoverflow.com/questions/5419/python-unicode-and-the-windows-console
Hmm try to set this one before spinning the agent
Windowsset PYTHONIOENCODING=:replace
Inside Colabos.environ["PYTHONIOENCODING"] = ":replace"
The errors you've sent seem related to the agent failing to locate the python version in the machine where it's running, and are not related to the use of a git reporisotry
yes, and I was running it without problems when I wasn't use git repo
Do you have python3 on the machine where you're running the agent?
following this example: https://github.com/allegroai/clearml-agent/blob/master/docs/trains.conf#L18
I think BroadMole64 is running it directly on Windows?
And the agent is in docker mode or venv mode?
What python version are you using to run the agent?
Hi BroadMole64
'from X import Y', which says that there isn't such module X. any help? thanks.
can you see package X under the "Execution" tab "Installed Packages" section ?
(think of this section as requirements.txt section, in order for the agent to install the package on the remote machine it should have it listed there)
and: " clearml_agent: ERROR: 'charmap' codec can't encode character '\u0303' in position 5717: character maps to <undefined> "
Ohh that's the issue with the LC_ALL missing in the docker itself (i.e unicode code character will break it)
Add locals into the container, in your clearml.conf
add the followingagent.extra_docker_shell_script: ["apt-get install -y locales",]
Let me know if that solves the issue (as you pointed, it has nothing to do with importing package X)
Yes, it is pushed, but there is some other data which I'm NOT using so I didn't create dataset of it, should I? I Also opened a new project and cloned the giltab repo and init a new task, running again the agent from the new repo, and same error
The issue now is different, I can't run experiemnt throught the git repo with the agent because of the above errors
Hi, thanks for the answers, it seems that now I have another issue, the agent can't clone the git(it is a gitlab repo):
what exactly should I change in the conf file except gitlab user and pssword?
when I try to run it with the agent
When you try to run what, exactly?
the same code that I talked about but this time from a git repo. I init the task, clone it in the UI and ran it using "clearml-agent daemon --queue default".
and: " clearml_agent: ERROR: 'charmap' codec can't encode character '\u0303' in position 5717: character maps to <undefined> "
AgitatedDove14 this is not a package but a sibling script file