mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Fix standalone script with pre-exiting conda venv
This commit is contained in:
parent
ae3d034531
commit
4f7407084d
@ -187,7 +187,7 @@ class LiteralScriptManager(object):
|
|||||||
location = location or (repo_info and repo_info.root)
|
location = location or (repo_info and repo_info.root)
|
||||||
if not location:
|
if not location:
|
||||||
location = Path(self.venv_folder, "code")
|
location = Path(self.venv_folder, "code")
|
||||||
location.mkdir(exist_ok=True)
|
location.mkdir(exist_ok=True, parents=True)
|
||||||
log.debug("selected execution directory: %s", location)
|
log.debug("selected execution directory: %s", location)
|
||||||
return Text(location), self.write(task, location, execution.entry_point)
|
return Text(location), self.write(task, location, execution.entry_point)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user