mirror of
https://github.com/clearml/clearml-agent
synced 2025-02-07 05:19:17 +00:00
Do not try to check for virtualenv command, we use it as python package
This commit is contained in:
parent
f2e2e1f94a
commit
cbfba6acb2
@ -890,8 +890,6 @@ class Worker(ServiceCommandSection):
|
|||||||
):
|
):
|
||||||
if not task_id:
|
if not task_id:
|
||||||
raise CommandFailedError("Worker build must have valid task id")
|
raise CommandFailedError("Worker build must have valid task id")
|
||||||
if not check_if_command_exists("virtualenv"):
|
|
||||||
raise CommandFailedError("Worker must have virtualenv installed")
|
|
||||||
|
|
||||||
self._session.print_configuration()
|
self._session.print_configuration()
|
||||||
|
|
||||||
@ -1020,8 +1018,6 @@ class Worker(ServiceCommandSection):
|
|||||||
):
|
):
|
||||||
if not task_id:
|
if not task_id:
|
||||||
raise CommandFailedError("Worker execute must have valid task id")
|
raise CommandFailedError("Worker execute must have valid task id")
|
||||||
if not check_if_command_exists("virtualenv"):
|
|
||||||
raise CommandFailedError("Worker must have virtualenv installed")
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
current_task = self._session.api_client.tasks.get_by_id(task_id)
|
current_task = self._session.api_client.tasks.get_by_id(task_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user